Bug#343524: Patch to make otp work on 64-bit architectures

2005-12-16 Thread Pawel Wiecek
On Dec 16, 4:36pm, Martin Orr wrote: > The reason otp does not work on amd64 (and presumably other 64-bit > architectures) is that it assumes a long is 32 bits. The attached patch > replaces all uses of (unsigned) long with (u)int32 and typedefs (u)int32 to Thanks. > This should perhaps be done

Bug#343524: Patch to make otp work on 64-bit architectures

2005-12-16 Thread Martin Orr
tags 343524 +patch thanks The reason otp does not work on amd64 (and presumably other 64-bit architectures) is that it assumes a long is 32 bits. The attached patch replaces all uses of (unsigned) long with (u)int32 and typedefs (u)int32 to be (unsigned) int on 32 bit architectures, (unsigned) lo