Fixed invalid format string.
This commit is contained in:
parent
cc44119dcf
commit
0352dc3d6c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user