# HG changeset patch # User Nathan Walp # Date 1079826382 0 # Node ID d8c2a76132901f104a5ba0270ddf73ee2422a8d1 # Parent e8aa46291f64053a8e6a49f2c307e3e28d2f3f50 [gaim-migrate @ 9210] read and write a size_t, which should work regardless of platform committer: Tailor Script diff -r e8aa46291f64 -r d8c2a7613290 src/proxy.c --- a/src/proxy.c Sat Mar 20 15:44:35 2004 +0000 +++ b/src/proxy.c Sat Mar 20 23:46:22 2004 +0000 @@ -549,7 +549,8 @@ write(child_out[1], &zero, sizeof(zero)); tmp = res; while(res) { - write(child_out[1], &(res->ai_addrlen), sizeof(res->ai_addrlen)); + size_t ai_addrlen = res->ai_addrlen; + write(child_out[1], &ai_addrlen, sizeof(ai_addrlen)); write(child_out[1], res->ai_addr, res->ai_addrlen); res = res->ai_next; }