summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/smbd/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/ipc.c b/source/smbd/ipc.c
index c8bb0c25052..c4a12ab531b 100644
--- a/source/smbd/ipc.c
+++ b/source/smbd/ipc.c
@@ -410,7 +410,7 @@ int reply_trans(connection_struct *conn, char *inbuf,char *outbuf, int size, int
}
if (suwcnt) {
- int i;
+ unsigned int i;
if((setup = (uint16 *)malloc(suwcnt*sizeof(uint16))) == NULL) {
DEBUG(0,("reply_trans: setup malloc fail for %u bytes !\n", (unsigned int)(suwcnt * sizeof(uint16))));
SAFE_FREE(data);