Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!mcnc!ece-csc!ncrcae!ncr-sd!hp-sdd!hplabs!ucbvax!CORY.BERKELEY.EDU!dillon From: dillon@CORY.BERKELEY.EDU.UUCP Newsgroups: comp.sys.amiga Subject: Small Aztec Bug 3.4a Message-ID: <8710020647.AA26201@cory.Berkeley.EDU> Date: Fri, 2-Oct-87 02:47:28 EDT Article-I.D.: cory.8710020647.AA26201 Posted: Fri Oct 2 02:47:28 1987 Date-Received: Sat, 3-Oct-87 10:34:04 EDT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 11 char xx[32] unsigned char yy[32] sizoef(xx) returns a signed int (correct) sizeof(yy) returns an unsigned int (incorrect) e.g. if (a-b > sizeof(yy)) returns TRUE if a-b is negative because the whole expression is regarded as an unsigned comparision due to sizeof(yy)'s returning an unsigned int. -Matt