diff options
author | Hanif Ariffin <hanif.ariffin.4326@gmail.com> | 2020-12-17 03:00:48 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-17 13:00:48 +0200 |
commit | a56cbd30366ac7776bcd71e2ac8d9c421ca54cc8 (patch) | |
tree | 71f60c5569bb139e66b29f7dd1601777440b1d15 /src/rax.c | |
parent | 407da77ea4f6de622d6f242ad16580aa6f4e7b85 (diff) | |
download | redis-a56cbd30366ac7776bcd71e2ac8d9c421ca54cc8.tar.gz |
More fixes to printf format specifier. (#7909)
mostly signed / unsigned mismatches.
Signed-off-by: Hanif Bin Ariffin <hanif.ariffin.4326@gmail.com>
Co-authored-by: Oran Agra <oran@redislabs.com>
Diffstat (limited to 'src/rax.c')
-rw-r--r-- | src/rax.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1892,7 +1892,7 @@ void raxShow(rax *rax) { /* Used by debugnode() macro to show info about a given node. */ void raxDebugShowNode(const char *msg, raxNode *n) { if (raxDebugMsg == 0) return; - printf("%s: %p [%.*s] key:%d size:%d children:", + printf("%s: %p [%.*s] key:%u size:%u children:", msg, (void*)n, (int)n->size, (char*)n->data, n->iskey, n->size); int numcld = n->iscompr ? 1 : n->size; raxNode **cldptr = raxNodeLastChildPtr(n) - (numcld-1); |