xmlparse.c: Polish ENTROPY_DEBUG
The cast fixes a compile warning.
This commit is contained in:
parent
c235f0aa43
commit
760077feeb
@ -806,8 +806,8 @@ ENTROPY_DEBUG(const char * label, unsigned long entropy) {
|
||||
if (EXPAT_ENTROPY_DEBUG && ! strcmp(EXPAT_ENTROPY_DEBUG, "1")) {
|
||||
fprintf(stderr, "Entropy: %s --> 0x%0*lx (%lu bytes)\n",
|
||||
label,
|
||||
(int)sizeof(unsigned long) * 2, entropy,
|
||||
sizeof(unsigned long));
|
||||
(int)sizeof(entropy) * 2, entropy,
|
||||
(unsigned long)sizeof(entropy));
|
||||
}
|
||||
return entropy;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user