mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-25 06:07:38 +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 {
|
} else {
|
||||||
while( (read_bytes=fread(buf, sizeof(char), 2, stdin)) != 0) {
|
while( (read_bytes=fread(buf, sizeof(char), 2, stdin)) != 0) {
|
||||||
if(read_bytes == 1) buf[1]='\0';
|
if(read_bytes == 1) buf[1]='\0';
|
||||||
sscanf(buf, "%x", &c);
|
sscanf(buf, "%s", &c);
|
||||||
printf("%c", c);
|
printf("%c", c);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user