summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-09 09:06:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:03 -0500
commitdfd4c8e84de85152b6b31deff26382dc9991006d (patch)
tree110e0bc7324afcf773b2a14b5c942105d91dbaee /source4
parent1a7ad8e573b87f6db3f955498b736ce69bf484ec (diff)
downloadsamba-dfd4c8e84de85152b6b31deff26382dc9991006d.tar.gz
samba-dfd4c8e84de85152b6b31deff26382dc9991006d.tar.bz2
samba-dfd4c8e84de85152b6b31deff26382dc9991006d.zip
r18295: pass write type for packet_size
this fixes a crash on IA_64 systems (This used to be commit 22c39027621fb65663122b4959b171d328b549d4)
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/gensec/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/gensec/socket.c b/source4/auth/gensec/socket.c
index 592535d8dc..3567bf801d 100644
--- a/source4/auth/gensec/socket.c
+++ b/source4/auth/gensec/socket.c
@@ -295,7 +295,7 @@ static NTSTATUS gensec_socket_unwrap(void *private, DATA_BLOB blob)
DATA_BLOB unwrapped;
NTSTATUS nt_status;
TALLOC_CTX *mem_ctx;
- uint32_t packet_size;
+ size_t packet_size;
mem_ctx = talloc_new(gensec_socket);
if (!mem_ctx) {