From: Jelmer Vernooij Date: Mon, 3 Dec 2007 16:51:44 +0000 (+0100) Subject: r26261: Use enum type. X-Git-Url: http://git.samba.org/samba.git/?p=jelmer%2Fsamba4-debian.git;a=commitdiff_plain;h=06233de54bc14d52e329d8eca2468b329b69593a;ds=sidebyside r26261: Use enum type. --- diff --git a/source/librpc/ndr/ndr_string.c b/source/librpc/ndr/ndr_string.c index ed007b4d3..a15855493 100644 --- a/source/librpc/ndr/ndr_string.c +++ b/source/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;