diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-04-24 08:23:41 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-04-24 08:23:41 +0200 |
commit | 7e0c39492a784f40f0fe0aa63e35b774dc7a4820 (patch) | |
tree | c6695d7c76c1c9d186b8f0bef371b27b479deb5e /src/passphrase.c | |
parent | fix errors and a warning (diff) | |
download | libpassphrase-7e0c39492a784f40f0fe0aa63e35b774dc7a4820.tar.gz libpassphrase-7e0c39492a784f40f0fe0aa63e35b774dc7a4820.tar.bz2 libpassphrase-7e0c39492a784f40f0fe0aa63e35b774dc7a4820.tar.xz |
enable more warnings
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/passphrase.c | 4 |
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(); |