mirror of
https://github.com/jedisct1/minisign.git
synced 2025-04-04 19:37:48 +03:00
Fix format string
This commit is contained in:
parent
66b19a6da3
commit
c4cca6ef89
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ get_line(char *line, size_t max_len, const char *prompt)
|
|||
}
|
||||
trim(line);
|
||||
if (strlen(line) >= max_len) {
|
||||
fprintf(stderr, "(truncated to %u characters)\n", (int) max_len);
|
||||
fprintf(stderr, "(truncated to %u characters)\n", (unsigned int) max_len);
|
||||
} else if (*line == 0) {
|
||||
fprintf(stderr, "(empty)\n");
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue