Fix compile warning for reading password
This commit is contained in:
parent
0e63a1f69d
commit
6c07183650
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
@ -107,7 +107,7 @@ main(int argc, char *argv[])
|
||||||
|
|
||||||
if (!passwd) {
|
if (!passwd) {
|
||||||
/* Prompt for a password. */
|
/* Prompt for a password. */
|
||||||
if (tarsnap_readpass(&passwd, "Please enter passphrase",
|
if (tarsnap_readpass((char**)&passwd, "Please enter passphrase",
|
||||||
dec ? NULL : "Please confirm passphrase", 1))
|
dec ? NULL : "Please confirm passphrase", 1))
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue