forked from bartvdbraak/blender
cineonlib.c: Quieted warning, inconsistency between printf format (%lu) and the type of an argument (uintptr_t??)
The struct member is an unsigned int, not a pointer, so it is mysterious why the orignal code cast it to an uintptr_t. I changed the code to cast it to an unsigned long so that it matches the format.
This commit is contained in:
parent
993d5e58bd
commit
9b701b7d32
@ -188,7 +188,7 @@ LogImageFile *cineonOpen(const unsigned char *byteStuff, int fromMemory, size_t
|
||||
}
|
||||
else {
|
||||
if (verbose) printf("Cineon: Bad magic number %lu in \"%s\".\n",
|
||||
(uintptr_t)header.fileHeader.magic_num, byteStuff);
|
||||
(unsigned long)header.fileHeader.magic_num, byteStuff);
|
||||
logImageClose(cineon);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user