s3:utils: use char packet[] in smbfilter.c to avoid warnings
[samba.git] / source3 / utils / smbfilter.c
index 734971bb2aa30c6096b2fc2eca95667d6207f333..1ff88f966fd2a4c636c7a7b785e4531ecadc5062 100644 (file)
@@ -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);