mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-06 21:55:00 +00:00
xmlparse.c: Polish ENTROPY_DEBUG
The cast fixes a compile warning.
This commit is contained in:
parent
c235f0aa43
commit
760077feeb
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue