]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - aft.c
Fix some format string warnings on x86_64.
[paraslash.git] / aft.c
diff --git a/aft.c b/aft.c
index e682c203adb8678f0ae4db31060f6cbb3ddbe327..866f269f0081219f012e60374cb466c7e64fcd1e 100644 (file)
--- a/aft.c
+++ b/aft.c
@@ -1194,7 +1194,7 @@ static void save_audio_file_info(HASH_TYPE *hash, const char *path,
 
        pos = AFTROW_PATH_OFFSET + path_len;
        PARA_DEBUG_LOG("size: %zu, afhi starts at %d\n", size, pos);
-       PARA_DEBUG_LOG("last afhi byte: %p, pos %d\n", buf + pos + afhi_size - 1,
+       PARA_DEBUG_LOG("last afhi byte: %p, pos %zu\n", buf + pos + afhi_size - 1,
                pos + afhi_size - 1);
        write_u16(buf + AFTROW_AFHI_OFFSET_POS, pos);
        save_afhi(afhi, buf + pos);