summaryrefslogtreecommitdiffstats
path: root/hunt/huntd/faketalk.c
diff options
context:
space:
mode:
Diffstat (limited to 'hunt/huntd/faketalk.c')
-rw-r--r--hunt/huntd/faketalk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hunt/huntd/faketalk.c b/hunt/huntd/faketalk.c
index 2a50c3dd..48f17990 100644
--- a/hunt/huntd/faketalk.c
+++ b/hunt/huntd/faketalk.c
@@ -190,7 +190,7 @@ do_announce(s)
msg.ctl_addr = ctl_addr;
msg.ctl_addr.sin_family = htons(msg.ctl_addr.sin_family);
# endif
- msg.id_num = (int) htonl((u_long) -1); /* an impossible id_num */
+ msg.id_num = (int) htonl((u_int32_t) -1); /* an impossible id_num */
ctl_transact(his_machine_addr, msg, ANNOUNCE, &response);
if (response.answer != SUCCESS)
return;