Definite's Extractor

My findings on Life, Linux, Open Source, and so on.

Monthly Archives: March 2008

warning: pointer targets in passing argument x of ‘strcmp’ differ in signedness

An annoying warning, but it can avoid some nasty cases such as:

Comparing a signed char value -1 and unsigned char value 255, if the char is not implemented as 8-bits.
Further reasoning can be seen at:
http://ubuntuforums.org/archive/index.php/t-61501.html

Advertisements