diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-11-25 19:01:35 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:06:08 -0500 |
commit | 5e6f2019f900d4f0517a6c4603684600fdbaa328 (patch) | |
tree | dde7fe1252f2a1bcc9c20f86154a8594732557f6 | |
parent | 1814aad5617c5fcafb75cc4566618e98f5323554 (diff) | |
download | samba-5e6f2019f900d4f0517a6c4603684600fdbaa328.tar.gz samba-5e6f2019f900d4f0517a6c4603684600fdbaa328.tar.bz2 samba-5e6f2019f900d4f0517a6c4603684600fdbaa328.zip |
r3963: fix conpiler warnings
metze
(This used to be commit 1239076ef77a2970e806f00e262e910777b40692)
-rw-r--r-- | source4/utils/ndrdump.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/utils/ndrdump.c b/source4/utils/ndrdump.c index 86513e4efb..c5867f85f1 100644 --- a/source4/utils/ndrdump.c +++ b/source4/utils/ndrdump.c @@ -75,7 +75,7 @@ static void show_functions(const struct dcerpc_interface_table *p) const struct dcerpc_interface_table *p; const struct dcerpc_interface_call *f; const char *pipe_name, *function, *inout, *filename; - char *data; + uint8_t *data; size_t size; DATA_BLOB blob; struct ndr_pull *ndr; @@ -158,7 +158,7 @@ static void show_functions(const struct dcerpc_interface_table *p) exit(1); } - data = file_load(ctx_filename, &size); + data = (uint8_t *)file_load(ctx_filename, &size); if (!data) { perror(ctx_filename); exit(1); @@ -181,7 +181,7 @@ static void show_functions(const struct dcerpc_interface_table *p) } } - data = file_load(filename, &size); + data = (uint8_t *)file_load(filename, &size); if (!data) { perror(filename); exit(1); |