Re: warning: comparison between signed and unsigned integer expressions
Markus Hitter <[email protected]>
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <[email protected]> |
Am 23.04.2010 um 15:11 schrieb Paul Sargent: > int a; > unsigned int b; > > a = -1; > b = (int) a; Didn't you mean b = (unsigned int) a; ? Casting an int to an int is somewhat obsolete. Markus - - - - - - - - - - - - - - - - - - - Dipl. Ing. Markus Hitter http://www.jump-ing.de/