summaryrefslogtreecommitdiff
path: root/toxav/msi.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxav/msi.c')
-rw-r--r--toxav/msi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxav/msi.c b/toxav/msi.c
index f8bc8451..d68e4a9c 100644
--- a/toxav/msi.c
+++ b/toxav/msi.c
@@ -526,7 +526,7 @@ MSICall *new_call ( MSISession *session, uint32_t friend_number )
526 session->calls = tmp; 526 session->calls = tmp;
527 527
528 /* Set fields in between to null */ 528 /* Set fields in between to null */
529 int32_t i = session->calls_tail + 1; 529 uint32_t i = session->calls_tail + 1;
530 for (; i < friend_number; i ++) 530 for (; i < friend_number; i ++)
531 session->calls[i] = NULL; 531 session->calls[i] = NULL;
532 532