summaryrefslogtreecommitdiffstats
path: root/source/smbd/ipc.c
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
commit196628432130f826505187a27207a7b947e034cf (patch)
tree95ce8cb539a2e1830ccf0303e883f29b45e1a8c8 /source/smbd/ipc.c
parent29d909b184e0044f728091f3215eeb58bbeff437 (diff)
downloadsamba-196628432130f826505187a27207a7b947e034cf.tar.gz
samba-196628432130f826505187a27207a7b947e034cf.tar.xz
samba-196628432130f826505187a27207a7b947e034cf.zip
Merge signed/unsigned fix from HEAD.
Diffstat (limited to 'source/smbd/ipc.c')
-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);