From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 7 Jan 2005 17:36:17 -1000 From: Tim Newsham To: 9fans@cse.psu.edu Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [9fans] acid question Topicbox-Message-UUID: 29fb3664-eace-11e9-9e20-41e7f4b1d025 I have two variables, "a" and "b". One comes from a symbol name (ie: a = main), and the other comes from data returned from strace(). Normal stuff: print shows ----------------------------- a 0x800529a4 b 0x800529a4 whatis a integer variable format X whatis b integer variable format X a - b 0x00000000 b - a 0x00000000 now weirdness: a == b 0 a < b 0x00000001 b < a 0x00000000 a > b 0 b > a 1 Whats going on here? Signed vs. unsigned issues? Tim N.