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:
authorultimatesolution <ultimatesolution@protonmail.com>2019-01-24 15:10:43 +0300
committerultimatesolution <ultimatesolution@protonmail.com>2019-01-24 15:10:43 +0300
commitd1dca8e6c17473472a83eeb0d97915803b27180d (patch)
tree7ea006ac558f11ebdd96101bf022417491948ef1
parentffb04caca71de0cddf28cd33a4575922900a59ed (diff)
fix broken compilation
-rw-r--r--queries.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/queries.c b/queries.c
index 5c1c528..08bc380 100644
--- a/queries.c
+++ b/queries.c
@@ -2088,7 +2088,7 @@ static void _tgl_do_send_photo (struct tgl_state *TLS, tgl_peer_id_t to_id, cons
}
} else {
if (callback) {
- ((void (*)(struct tgl_state *, void *, int))callback) (TLS, callback_extra, 0);
+ ((void (*)(struct tgl_state *, void *, int, struct tgl_message*))callback) (TLS, callback_extra, 0, NULL);
}
}
return;
@@ -2105,7 +2105,7 @@ static void _tgl_do_send_photo (struct tgl_state *TLS, tgl_peer_id_t to_id, cons
}
} else {
if (callback) {
- ((void (*)(struct tgl_state *, void *, int))callback) (TLS, callback_extra, 0);
+ ((void (*)(struct tgl_state *, void *, int, struct tgl_message*))callback) (TLS, callback_extra, 0, NULL);
}
}
return;
@@ -2138,7 +2138,7 @@ static void _tgl_do_send_photo (struct tgl_state *TLS, tgl_peer_id_t to_id, cons
}
} else {
if (callback) {
- ((void (*)(struct tgl_state *, void *, int))callback) (TLS, callback_extra, 0);
+ ((void (*)(struct tgl_state *, void *, int, struct tgl_message*))callback) (TLS, callback_extra, 0, NULL);
}
}
return;