chg: skip pointers and make a small number instead.

This commit is contained in:
iceman1001 2018-01-25 20:54:15 +01:00
parent 0582fdf934
commit 4671b81115

View file

@ -622,7 +622,7 @@ int hextobinarray(char *target, char *source)
else if (x >= 'A' && x <= 'F')
x -= 'A' - 10;
else {
printf("Discovered unknown character %c %d at idx % " PRIu32 " of %s\n", x, x, source - start, start);
printf("Discovered unknown character %c %d at idx %d of %s\n", x, x, (int16_t)(source - start), start);
return 0;
}
// output