Merge signed/unsigned fix from HEAD.
authorAndrew Bartlett <abartlet@samba.org>
Tue, 18 Mar 2003 11:18:27 +0000 (11:18 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 18 Mar 2003 11:18:27 +0000 (11:18 +0000)
source/smbd/ipc.c

index c8bb0c250522c6a51af5cfa6f35a15675c5cf155..c4a12ab531b50d50d3a2998ae69b0e9e7885f72b 100644 (file)
@@ -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);