* Fix a bad cast in hunt that caused it to refuse to run on amd64 and likely

also other 64 bit architectures. Closes: #342025
This commit is contained in:
Joey Hess
2007-12-22 22:44:52 -05:00
parent 27002d3a9e
commit 7733def078
2 changed files with 9 additions and 2 deletions

7
debian/changelog vendored
View File

@@ -1,3 +1,10 @@
bsdgames (2.17-12) UNRELEASED; urgency=low
* Fix a bad cast in hunt that caused it to refuse to run on amd64 and likely
also other 64 bit architectures. Closes: #342025
-- Joey Hess <joeyh@debian.org> Sat, 22 Dec 2007 22:43:54 -0500
bsdgames (2.17-11) unstable; urgency=low
* gcc 4.3 duplicate function parameter name fixes. Closes: #455662

View File

@@ -114,7 +114,7 @@ playit()
bad_con();
/* NOTREACHED */
}
if (ntohl(version) != (unsigned long)HUNT_VERSION) {
if (ntohl(version) != (uint32_t)HUNT_VERSION) {
bad_ver();
/* NOTREACHED */
}
@@ -649,7 +649,7 @@ do_message()
bad_con();
/* NOTREACHED */
}
if (ntohl(version) != (unsigned long)HUNT_VERSION) {
if (ntohl(version) != (uint32_t)HUNT_VERSION) {
bad_ver();
/* NOTREACHED */
}