1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

(handle_iconv_error): Turn diagnostics into warnings

so that gpg does not return with failure.
(native_to_utf8, utf8_to_native): Ditto.
This commit is contained in:
Werner Koch 2004-12-20 08:55:03 +00:00
parent 07250279e7
commit be4bb5a88b
3 changed files with 16 additions and 5 deletions

View file

@ -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