From be0c01da4ce805440638ec7b0b06c4279bc59d6a Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Wed, 6 Apr 2005 23:50:48 +0000 Subject: r6230: don't know how this ever worked! the compiler complained we were comparing an integer to a pointer and it was right. (This used to be commit b6117dd72de1f2a8e158d1a5f2b2991ef93deb72) --- source3/lib/util_unistr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/lib/util_unistr.c b/source3/lib/util_unistr.c index 0b4552e1f5..7cbae30ced 100644 --- a/source3/lib/util_unistr.c +++ b/source3/lib/util_unistr.c @@ -113,7 +113,7 @@ static int check_dos_char_slowly(smb_ucs2_t c) if (len1 == 0) return 0; len2 = convert_string(CH_DOS, CH_UCS2, buf, len1, &c2, 2,False); if (len2 != 2) return 0; - return (c == c2); + return (c == *c2); } -- cgit