aboutsummaryrefslogtreecommitdiffstats
path: root/src/passphrase.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/passphrase.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/passphrase.c b/src/passphrase.c
index dd0206c..f1ce7b7 100644
--- a/src/passphrase.c
+++ b/src/passphrase.c
@@ -309,9 +309,9 @@ char* passphrase_read(void)
}
if ((c & 0xC0) != 0x80)
fputc('*', stderr);
- *(rc + len++) = c;
+ *(rc + len++) = (char)c;
#else
- *(rc + len++) = c;
+ *(rc + len++) = (char)c;
#endif
xflush();