Mercurial > dovecot > original-hg > dovecot-2.1
changeset 4957:e98e43994c0e HEAD
getopt() return value should be stored into int, not into char. Fixes
PowerPC Linux where char is unsigned.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 21 Dec 2006 23:22:17 +0200 |
parents | 8fd9913adad8 |
children | e73c1354e263 |
files | src/util/dovecotpw.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/util/dovecotpw.c Thu Dec 21 18:13:17 2006 +0200 +++ b/src/util/dovecotpw.c Thu Dec 21 23:22:17 2006 +0200 @@ -38,8 +38,7 @@ const char *user = NULL; char *scheme = NULL; char *plaintext = NULL; - char ch; - int lflag = 0, Vflag = 0; + int ch, lflag = 0, Vflag = 0; lib_init(); random_init();