Definite's Extractor

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

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: