------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-21 00:24 ------- A better way is to just to suppress the warning point, see PR 12963.
*** This bug has been marked as a duplicate of 12963 *** -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE Summary|unable to use cast to |unable to use cast to |suppress "warning: |suppress "warning: |comparison is always false |comparison is always false |due to limited range of data|due to limited range of data |type" |type" http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20573