Cleaning a few things up lately, I just found out that on my LinuxPPC installation, char and signed char are different i.e. char is unsigned char. Is this the same case for Linux Intel? Could someone run the test:

#include <stdio.h>

int main() {

        char a = -3;
        if(a > 0)
                printf("Ooops!\n");
        return 0;
}

And let me know? If I change the char to signed char above then it works as expected.

David
--
.............................................................................
David L. Thompson                          The University of Montana
mailto:[EMAIL PROTECTED]                 Computer Science Department
http://www.cs.umt.edu/u/dthompsn           Missoula, MT  59812
                                           Work Phone : (406)257-8530

Reply via email to