mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-24 21:57:34 +00:00
extras/kdf-keys: fixed hexencode warning caused by wrong type.
This commit is contained in:
parent
59d7331cb0
commit
d8989e1955
@ -41,7 +41,7 @@ int main(int argc, char *argv[]) {
|
||||
} else {
|
||||
while( (read_bytes=fread(buf, sizeof(char), 2, stdin)) != 0) {
|
||||
if(read_bytes == 1) buf[1]='\0';
|
||||
sscanf(buf, "%x", &c);
|
||||
sscanf(buf, "%s", &c);
|
||||
printf("%c", c);
|
||||
}
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user