From be4bb5a88befd047f71ce3eaf145d625c47bd37f Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 20 Dec 2004 08:55:03 +0000 Subject: (handle_iconv_error): Turn diagnostics into warnings so that gpg does not return with failure. (native_to_utf8, utf8_to_native): Ditto. --- util/iobuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/iobuf.c') diff --git a/util/iobuf.c b/util/iobuf.c index 5f0e84383..2cbde7f90 100644 --- a/util/iobuf.c +++ b/util/iobuf.c @@ -146,7 +146,7 @@ fd_cache_strcmp (const char *a, const char *b) || (*a == '\\' && *b == '/')) ) break; } - return *(const unsigned *)a - *(const unsigned *)b; + return *(const unsigned char *)a - *(const unsigned char *)b; #else return strcmp (a, b); #endif -- cgit