$ git clone http://tcclient.ion.nu/tc_client.git
commit 0a8ec0d20db950a7478d1ea128c32e8dcd411b5e
Author: Alicia <...>
Date:   Sun Oct 16 02:20:53 2016 +0200

    tc_client-gtk: fixed printf formatting.

diff --git a/ChangeLog b/ChangeLog
index 2917482..4abbf41 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -29,6 +29,7 @@ tc_client-gtk: quit if the captcha window is closed.
 tc_client-gtk: make scrolling with page up and page down work even if focus is on the input field.
 tc_client-gtk: bugfix: close the camera device when cancelling cam selection.
 tc_client-gtk: moved some GUI code into gui.c, including all of the GUI initialization.
+tc_client-gtk: fixed printf formatting.
 tc_client-gtk and camviewer: updated to libavcodec's avcodec_{send,receive}_{frame,packet} API.
 camviewer: removed the old, buggy audio code.
 libcamera: added support for a virtual X11 camera.
diff --git a/utilities/gtk/media.c b/utilities/gtk/media.c
index fc1cc36..764a156 100644
--- a/utilities/gtk/media.c
+++ b/utilities/gtk/media.c
@@ -305,7 +305,7 @@ gboolean cam_encode(void* camera_)
   dprintf(tc_client_in[1], "/video %i\n", packet.size+1);
   write(tc_client_in[1], &frameinfo, 1);
   ssize_t w=write(tc_client_in[1], packet.data, packet.size);
-if(w!=packet.size){printf("Error: wrote %li of %i bytes\n", w, packet.size);}
+if(w!=packet.size){printf("Error: wrote %zi of %i bytes\n", w, packet.size);}
 
   av_packet_unref(&packet);
   if(camout_delay>100) // Slowly speed up to 10fps, otherwise the flash client won't show it.