Commit a17e6fe8 authored by Peter Pentchev's avatar Peter Pentchev

Fix a format string compiler warning.

parent 5f2bf2ba
Changelog for libdebug.
0.4.5 not yet ;)
- fix a compiler warning about a printf format string in hex.c
0.4.4 2011/07/19
- fix a compiler warning about an unused variable in memory.c
......
......@@ -49,7 +49,7 @@ static void dump16 (char *buf,const uint8_t *s,uintptr_t offset,size_t len)
{
size_t i,n;
n = sprintf (buf,"%08x - ",offset);
n = sprintf (buf,"%08lx - ",(unsigned long)offset);
for (i = 0; i < len; i++)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment