summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-03 17:51:44 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:47:35 +0100
commita84863372c3bc51c3db0cdc8647b7e730e15a7c8 (patch)
tree0c419995a8e1b91288e89d0a30a671cbf060f7a5 /source4
parentecea5ce24553989103d4a06296b24f4d29f30a36 (diff)
downloadsamba-a84863372c3bc51c3db0cdc8647b7e730e15a7c8.tar.gz
samba-a84863372c3bc51c3db0cdc8647b7e730e15a7c8.tar.bz2
samba-a84863372c3bc51c3db0cdc8647b7e730e15a7c8.zip
r26261: Use enum type.
(This used to be commit 06233de54bc14d52e329d8eca2468b329b69593a)
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/ndr/ndr_string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/ndr/ndr_string.c b/source4/librpc/ndr/ndr_string.c
index ed007b4d3b..a15855493c 100644
--- a/source4/librpc/ndr/ndr_string.c
+++ b/source4/librpc/ndr/ndr_string.c
@@ -31,7 +31,7 @@ _PUBLIC_ enum ndr_err_code ndr_pull_string(struct ndr_pull *ndr, int ndr_flags,
uint32_t len1, ofs, len2;
uint16_t len3;
int ret;
- int chset = CH_UTF16;
+ charset_t chset = CH_UTF16;
unsigned byte_mul = 2;
unsigned flags = ndr->flags;
unsigned c_len_term = 0;