Fixed invalid format string.

This commit is contained in:
Armin Novak 2018-08-01 11:54:45 +02:00
parent cc44119dcf
commit 0352dc3d6c

View File

@ -40,13 +40,13 @@ static void* read_image(const char* src, size_t* size)
if (!a)
{
fprintf(stderr, "Failed malloc %ld bytes\n", src_size);
fprintf(stderr, "Failed malloc %"PRId64" bytes\n", src_size);
goto cleanup;
}
if (fread(a, sizeof(char), src_size, fsrc) != src_size)
{
fprintf(stderr, "Failed read %ld bytes\n", src_size);
fprintf(stderr, "Failed read %"PRId64" bytes\n", src_size);
goto cleanup;
}