summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-03-18 11:18:27 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-03-18 11:18:27 +0000
commit5452ecebc7d89fac6e1047b92b77be47fe85914c (patch)
treebfa651b17d9a64f70152e14a78cf09d6ffb0b90d
parent0d3e24f003a2e5bf41215dccd308bec1a5a82478 (diff)
downloadsamba-5452ecebc7d89fac6e1047b92b77be47fe85914c.tar.gz
samba-5452ecebc7d89fac6e1047b92b77be47fe85914c.tar.bz2
samba-5452ecebc7d89fac6e1047b92b77be47fe85914c.zip
Merge signed/unsigned fix from HEAD.
(This used to be commit 196628432130f826505187a27207a7b947e034cf)
-rw-r--r--source3/smbd/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c
index c8bb0c2505..c4a12ab531 100644
--- a/source3/smbd/ipc.c
+++ b/source3/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);