From 69408532e75bc621439239fb808ca79e2910dcbc Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 15 Mar 2006 05:49:45 +0000 Subject: r14429: charset_t cannot be used to loop over charset_t, as otherwise it can go out of the range of the enum (This used to be commit caead24b6dd2f2e87e113587cacd57794487a83a) --- source4/lib/charset/charcnv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/lib/charset/charcnv.c b/source4/lib/charset/charcnv.c index a10a336fd2..3ee8adf772 100644 --- a/source4/lib/charset/charcnv.c +++ b/source4/lib/charset/charcnv.c @@ -63,7 +63,7 @@ static smb_iconv_t conv_handles[NUM_CHARSETS][NUM_CHARSETS]; **/ _PUBLIC_ void init_iconv(void) { - charset_t c1, c2; + unsigned c1, c2; for (c1=0;c1