Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/majn/tgl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvvaltman <vvaltman@neon>2014-11-17 17:33:27 +0300
committervvaltman <vvaltman@neon>2014-11-17 17:33:27 +0300
commitf7f0aed83288df5beaf0c753eafbd281af0d70ac (patch)
tree826ecfacd4f4083ac1344fc08ba9a471a5466cbf /updates.c
parent72b2c5053bc1d23291be19df14960ef0283ba682 (diff)
Fixed bug with update on msg_id
Diffstat (limited to 'updates.c')
-rw-r--r--updates.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/updates.c b/updates.c
index 2108fe0..6c51040 100644
--- a/updates.c
+++ b/updates.c
@@ -74,7 +74,7 @@ void tglu_work_update (struct tgl_state *TLS, struct connection *c, long long ms
case CODE_update_message_i_d:
{
int id = fetch_int (); // id
- int new = fetch_long (); // random_id
+ long long new = fetch_long (); // random_id
struct tgl_message *M = tgl_message_get (TLS, new);
if (M) {
bl_do_set_msg_id (TLS, M, id);