mirror of
https://github.com/sheumann/hush.git
synced 2025-01-03 00:31:16 +00:00
tweak format modifier in debug code to fixup gcc warning
This commit is contained in:
parent
ec2c655702
commit
d006edb2ca
@ -1322,7 +1322,7 @@ static void debug_print_list(const char *prefix, o_string *o, int n)
|
|||||||
}
|
}
|
||||||
if (n) {
|
if (n) {
|
||||||
const char *p = o->data + (int)list[n - 1] + string_start;
|
const char *p = o->data + (int)list[n - 1] + string_start;
|
||||||
fprintf(stderr, " total_sz:%d\n", (p + strlen(p) + 1) - o->data);
|
fprintf(stderr, " total_sz:%ld\n", (p + strlen(p) + 1) - o->data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user