Skip to content

Fix printf format specifier for unsigned in ziplistRepr#7907

Merged
oranagra merged 1 commit intoredis:unstablefrom
hbina:fix_printf_format
Oct 13, 2020
Merged

Fix printf format specifier for unsigned in ziplistRepr#7907
oranagra merged 1 commit intoredis:unstablefrom
hbina:fix_printf_format

Conversation

@hbina
Copy link
Contributor

@hbina hbina commented Oct 13, 2020

src/ziplist.c Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hbina did you mean %5lu? i.e. lu and not ul?

@hbina hbina force-pushed the fix_printf_format branch from 3827d47 to b6b46d6 Compare October 13, 2020 09:29
@oranagra oranagra changed the title Fixed printf format specifier for unsigned int and unsigned long Fix printf format specifier for unsigned in ziplistRepr Oct 13, 2020
@oranagra oranagra merged commit f559a57 into redis:unstable Oct 13, 2020
@hbina hbina deleted the fix_printf_format branch October 13, 2020 15:10
JackieXie168 pushed a commit to JackieXie168/redis that referenced this pull request Nov 4, 2020
Only used by DEBUG and testing code.

Signed-off-by: Hanif Bin Ariffin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants