[hatari-devel] New compiler warnings

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi Thomas,

I'm getting new compiler warnings:

src/gemdos.c: In function ‘GemDOS_LoadAndReloc’:
src/gemdos.c:4006:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (nRelTabIdx > nFileSize - 3)
                 ^
src/gemdos.c:4021:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while (nRelTabIdx < nFileSize && prg[nRelTabIdx])
                    ^
src/gemdos.c:4035:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (nRelTabIdx >= nFileSize)
                 ^~


	- Eero



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/