diff -ruNp btparser-0.5/lib/utils.c btparser-0.5-ok/lib/utils.c --- btparser-0.5/lib/utils.c 2010-08-20 18:55:17.000000000 +0200 +++ btparser-0.5-ok/lib/utils.c 2010-08-31 16:42:00.236554701 +0200 @@ -185,7 +185,7 @@ btp_file_to_string(const char *filename) static const size_t FILE_SIZE_LIMIT = 20000000; /* ~ 20 MB */ if (size > FILE_SIZE_LIMIT) { - fprintf(stderr, "Input file too big (%zd). Maximum size is %d.\n", + fprintf(stderr, "Input file too big (%zd). Maximum size is %zd.\n", size, FILE_SIZE_LIMIT); fclose(fp); return NULL;