--- Thomas Hruska wrote: > BTW, you should have your compiler warnings turned up > so that you get a warning > for assigning a signed value to an unsigned variable.
--- John Matthews asked: > And anyone know the gcc equivalent? > Gcc's -Wall 'all warnings' option doesn't include it. --- andrew clarke replied: > Maybe try: > > gcc -W -Wall The right answer is: gcc -Wconversion