NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
dgbint is not a 32 bits on 64 bits platform


Joined: 02 Aug 2004
Posts: 5
Reply with quote
Hello,

I'm trying to compile dbg module on a G5 computer, and i see in source code.
Code:
#define dbgint long   /* this must be 32-bit signed integer only! */


but long is a 64 bits value on G5 (and x86_64 linux too).

I change it into 'int' and now it works better.
Maybe it can help some peoples.
View user's profileFind all posts by GrayfoxSend private messageAIM AddressICQ Number
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
yep sure. dbginst must be defined as int.
Yet, 64bit platforms were not widely available at the time when I started developing dbg and I though long would remain 32bit (as in case of 16-bit platforms).
View user's profileFind all posts by dmitriSend private messageVisit poster's website
dgbint is not a 32 bits on 64 bits platform
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic