Skip to content

Commit b3dcce3

Browse files
author
vvaltman
committed
fixes
1 parent dad6729 commit b3dcce3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tgl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ void tgl_dc_iterator_ex (struct tgl_state *TLS, void (*iterator)(struct tgl_dc *
328328
#define TGL_SEND_MSG_FLAG_DOCUMENT_AUTO 32
329329
#define TGL_SEND_MSG_FLAG_DOCUMENT_PHOTO 64
330330

331-
#define TGL_SEND_MSG_FLAG_REPLY(x) (1 << (unsigned long long)x)
331+
#define TGL_SEND_MSG_FLAG_REPLY(x) (((unsigned long long)x) << 32)
332332

333333
typedef tgl_peer_id_t tgl_user_id_t;
334334
typedef tgl_peer_id_t tgl_chat_id_t;

updates.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ static void fetch_dc_option_new (struct tgl_state *TLS, struct tl_ds_dc_option *
3939
}
4040

4141
int tgl_check_pts_diff (struct tgl_state *TLS, int pts, int pts_count) {
42-
vlogprintf (E_ERROR, "pts = %d, pts_count = %d\n", pts, pts_count);
42+
vlogprintf (E_DEBUG - 1, "pts = %d, pts_count = %d\n", pts, pts_count);
4343
assert (TLS->pts);
4444
if (pts < TLS->pts + pts_count) {
4545
vlogprintf (E_NOTICE, "Duplicate message with pts=%d\n", pts);

0 commit comments

Comments
 (0)