From 7e0c39492a784f40f0fe0aa63e35b774dc7a4820 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 24 Apr 2014 08:23:41 +0200 Subject: enable more warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/passphrase.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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(); -- cgit v1.2.3-70-g09d2