Avoid a warning in client/util.c
This commit is contained in:
parent
e0b2de0cce
commit
9707ba5567
@ -620,7 +620,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 %d of %s\n", x, x, source - start, start);
|
||||
printf("Discovered unknown character %c %d at idx %tu of %s\n", x, x, source - start, start);
|
||||
return 0;
|
||||
}
|
||||
// output
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user