svn commit: samba r14429 - in
branches/SAMBA_4_0/source/lib/charset: .
tridge at samba.org
tridge at samba.org
Wed Mar 15 05:49:50 GMT 2006
Author: tridge
Date: 2006-03-15 05:49:45 +0000 (Wed, 15 Mar 2006)
New Revision: 14429
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14429
Log:
charset_t cannot be used to loop over charset_t, as otherwise it can
go out of the range of the enum
Modified:
branches/SAMBA_4_0/source/lib/charset/charcnv.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/charset/charcnv.c
===================================================================
--- branches/SAMBA_4_0/source/lib/charset/charcnv.c 2006-03-15 05:49:32 UTC (rev 14428)
+++ branches/SAMBA_4_0/source/lib/charset/charcnv.c 2006-03-15 05:49:45 UTC (rev 14429)
@@ -63,7 +63,7 @@
**/
_PUBLIC_ void init_iconv(void)
{
- charset_t c1, c2;
+ unsigned c1, c2;
for (c1=0;c1<NUM_CHARSETS;c1++) {
for (c2=0;c2<NUM_CHARSETS;c2++) {
if (conv_handles[c1][c2] != NULL) {
More information about the samba-cvs
mailing list