[oclug]comparison warning

Rod Giffin rod at giffinscientific.com
Tue Jan 28 10:55:52 EST 2003


Shad Young said:
> warning: comparison between signed and unsigned integer expressions
>
> Why is this bad?

It's not necessarily bad, which is why it's only a warning instead of an
error.  The warning is just to draw your attention to something that might
be a logic error.

Rod.





More information about the OCLUG mailing list