diff options
| author | mrg <mrg@NetBSD.org> | 1997-10-04 09:28:32 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 1997-10-04 09:28:32 +0000 |
| commit | e70ef401ba43f3b9aee92ed87dccd079e08ce3bf (patch) | |
| tree | 0fd1393a3663b72f04b28be4ff53685a76fe7ce1 /hunt/huntd/answer.c | |
| parent | cfdef71b4c257d53fcb7c22b6c5f094bbb3a19de (diff) | |
| download | bsdgames-darwin-e70ef401ba43f3b9aee92ed87dccd079e08ce3bf.tar.gz bsdgames-darwin-e70ef401ba43f3b9aee92ed87dccd079e08ce3bf.zip | |
fix compiler warnings on the alpha.
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); |
