git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ce5f82
)
r14429: charset_t cannot be used to loop over charset_t, as otherwise it can
author
Andrew Tridgell
<tridge@samba.org>
Wed, 15 Mar 2006 05:49:45 +0000
(
05:49
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:57:22 +0000
(13:57 -0500)
go out of the range of the enum
(This used to be commit
caead24b6dd2f2e87e113587cacd57794487a83a
)
source4/lib/charset/charcnv.c
patch
|
blob
|
history
diff --git
a/source4/lib/charset/charcnv.c
b/source4/lib/charset/charcnv.c
index a10a336fd2a31d20085d0ee8091bf686ce445d9f..3ee8adf772968517cb6059b5757ec3a7ec24e4fa 100644
(file)
--- 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<NUM_CHARSETS;c1++) {
for (c2=0;c2<NUM_CHARSETS;c2++) {
if (conv_handles[c1][c2] != NULL) {