Re: [madman-discuss] AutoDJ problems with AMD64?
Brought to you by:
inducer
From: Kyle L. <ky...@fo...> - 2004-12-27 20:24:19
|
Yeah, it's the unsigned longs that are the problem. My 32bit box says they are 4 bits, but my amd64 says they are 8bits. I went through mt_random and changed the unsigned longs to unsigned ints since they are are 4 bits on the 32bit and 64bit boxes, and everything seems to work on both my amd64 and p4 boxes. Here's a patch that I made (it's diff -ur, hope that's the right way): http://foobox.homelinux.net/~kyle/autodj-amd64.patch Kyle On Mon, 2004-12-27 at 13:02 -0700, Shawn Willden wrote: > Nice to know that's where the problem is. What are the integer sizes > used by gcc on AMD64? It looks like the code uses longs, some signed, > some unsigned, pretty much everywhere. Is long a 64-bit value on AMD64? > > Shawn. |