Compilation of SVN version from last night on NetBSD-4.99.22/amd64 failed with:
c++ -Wp,-MMD,"engines/scumm/.deps/gfx.d",-MQ,"engines/scumm/gfx.o",-MP -Wall -O2 -I/usr/pkg\
/include -I/usr/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include -I/usr/include -DGLX_GLXEXT_\
LEGACY -g -ansi -W -Wno-unused-parameter -Wno-long-long -Wno-multichar -Wno-unknown-pragmas\
-pedantic -Wpointer-arith -Wcast-qual -Wconversion -Wshadow -Wimplicit -Wundef -Wnon-virtu\
al-dtor -Wno-reorder -Wwrite-strings -fno-rtti -fno-exceptions -fcheck-new -DHAVE_CONFIG_H \
-DUNIX -DDATA_PATH=\"/usr/pkg/share/scummvm\" -DSDL_BACKEND -I. -I. -I./engines -I/usr/pkg/\
include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -c engines/scumm/gfx.cpp -o engines\
/scumm/gfx.o
engines/scumm/gfx.cpp: In member function 'void Scumm::ScummEngine::drawStripToScreen(Scumm\
::VirtScreen*, int, int, int, int)':
engines/scumm/gfx.cpp:579: error: cast from 'const byte*' to 'int' loses precision
Compiler is gcc (GCC) 4.1.3 20070620 prerelease (NetBSD nb1 20070620).
Ticket imported from: #1751498. Ticket imported from: bugs/3312.
This is strange
First of all, there is no such cast in line 579, but it's at line 599
Second, this looks like an outdated copy of the file. There was a cast from byte to int, but that has been fixed with commit #28012 so that it casts to long instead of int
Can you do an svn up and try again?