diff options
author | Werner Koch <[email protected]> | 2004-12-20 08:55:03 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2004-12-20 08:55:03 +0000 |
commit | be4bb5a88befd047f71ce3eaf145d625c47bd37f (patch) | |
tree | 9dfee93feb845b544f8367eb6698c6a8886aa2aa /util/iobuf.c | |
parent | * keyedit.c (keyedit_menu): Invisible alias "passwd" as "password". (diff) | |
download | gnupg-be4bb5a88befd047f71ce3eaf145d625c47bd37f.tar.gz gnupg-be4bb5a88befd047f71ce3eaf145d625c47bd37f.zip |
(handle_iconv_error): Turn diagnostics into warnings
so that gpg does not return with failure.
(native_to_utf8, utf8_to_native): Ditto.
Diffstat (limited to 'util/iobuf.c')
-rw-r--r-- | util/iobuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |