]> Pileus Git - grits/blobdiff - src/tile-test.c
Fix more warnings
[grits] / src / tile-test.c
index 0aeafbdf1cf68f50f442782431b595821a7252cc..9a4fd81629e4eae679c951889eff4aa74dd6a6ff 100644 (file)
@@ -32,7 +32,7 @@ struct CacheState {
 void chunk_callback(gsize cur, gsize total, gpointer _state)
 {
        struct CacheState *state = _state;
-       g_message("chunk_callback: %ld/%ld", cur, total);
+       g_message("chunk_callback: %ld/%ld", (glong)cur, (glong)total);
 
        if (state->progress == NULL) {
                state->progress = gtk_progress_bar_new();