diff options
Diffstat (limited to 'hunt/huntd/answer.c')
| -rw-r--r-- | hunt/huntd/answer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hunt/huntd/answer.c b/hunt/huntd/answer.c index 0de92027..fe8e2376 100644 --- a/hunt/huntd/answer.c +++ b/hunt/huntd/answer.c @@ -54,7 +54,7 @@ answer() if (machine == 0) machine = gethostid(); # endif - version = htonl((unsigned long) HUNT_VERSION); + version = htonl((u_int32_t) HUNT_VERSION); (void) write(newsock, (char *) &version, LONGLEN); (void) read(newsock, (char *) &uid, LONGLEN); uid = ntohl((unsigned long) uid); |
