summaryrefslogtreecommitdiffstats
path: root/source3/utils
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-02-26 20:16:26 +0100
committerAndrew Bartlett <abartlet@samba.org>2014-04-02 09:03:43 +0200
commit8f9c12195d3b5e0879d6343aefa4f238cbca30fa (patch)
tree88a5ff3e287d55062795d1d1a962fd9c7b44d8e8 /source3/utils
parentc2a26fe5e78bf5eaa7cc8fe929bb9546dc9c45bd (diff)
downloadsamba-8f9c12195d3b5e0879d6343aefa4f238cbca30fa.tar.gz
samba-8f9c12195d3b5e0879d6343aefa4f238cbca30fa.tar.xz
samba-8f9c12195d3b5e0879d6343aefa4f238cbca30fa.zip
s3:utils: use char packet[] in smbfilter.c to avoid warnings
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/smbfilter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbfilter.c b/source3/utils/smbfilter.c
index 734971bb2a..1ff88f966f 100644
--- a/source3/utils/smbfilter.c
+++ b/source3/utils/smbfilter.c
@@ -177,7 +177,7 @@ static void filter_child(int c, struct sockaddr_storage *dest_ss)
{
NTSTATUS status;
int s = -1;
- uint8_t packet[128*1024];
+ char packet[128*1024];
/* we have a connection from a new client, now connect to the server */
status = open_socket_out(dest_ss, TCP_SMB_PORT, LONG_CONNECT_TIMEOUT, &s);