extras/kdf-keys: fixed hexencode warning caused by wrong type.

This commit is contained in:
nerun 2023-06-26 10:12:36 -03:00 committed by Jaromil
parent 59d7331cb0
commit d8989e1955
1 changed files with 1 additions and 1 deletions

View File

@ -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;