diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-10-27 08:54:46 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-10-27 08:13:40 +0000 |
commit | 14a3d4d7f06f667d3d5634360e1bb81f7f9a117d (patch) | |
tree | fabd403e5c66004832282593db00a73ab2f18413 | |
parent | 51dd83a50cbfc6d1bf17eb95095bac4d223cc637 (diff) | |
download | samba-14a3d4d7f06f667d3d5634360e1bb81f7f9a117d.tar.gz samba-14a3d4d7f06f667d3d5634360e1bb81f7f9a117d.tar.bz2 samba-14a3d4d7f06f667d3d5634360e1bb81f7f9a117d.zip |
librpc/ndr/ndr.c - fix some counter types
The "depth" is "uint32_t"
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Wed Oct 27 08:13:40 UTC 2010 on sn-devel-104
-rw-r--r-- | librpc/ndr/ndr.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/librpc/ndr/ndr.c b/librpc/ndr/ndr.c index 0e16a43525..63b2cc323c 100644 --- a/librpc/ndr/ndr.c +++ b/librpc/ndr/ndr.c @@ -166,7 +166,8 @@ _PUBLIC_ void ndr_print_debug_helper(struct ndr_print *ndr, const char *format, { va_list ap; char *s = NULL; - int i, ret; + uint32_t i; + int ret; va_start(ap, format); ret = vasprintf(&s, format, ap); @@ -193,7 +194,7 @@ _PUBLIC_ void ndr_print_debug_helper(struct ndr_print *ndr, const char *format, _PUBLIC_ void ndr_print_printf_helper(struct ndr_print *ndr, const char *format, ...) { va_list ap; - int i; + uint32_t i; if (!ndr->no_newline) { for (i=0;i<ndr->depth;i++) { @@ -212,7 +213,7 @@ _PUBLIC_ void ndr_print_printf_helper(struct ndr_print *ndr, const char *format, _PUBLIC_ void ndr_print_string_helper(struct ndr_print *ndr, const char *format, ...) { va_list ap; - int i; + uint32_t i; if (!ndr->no_newline) { for (i=0;i<ndr->depth;i++) { |