dabroz/doom3.gpl — pull request #2 by bernds (2011-11-28 20:06:13+00:00)
Title: Please pull a fix for a previous warning elimination patch

A previous patch changed bytePtr from char * to unsigned short *, but left various other pieces of the code untouched; the biggest problem being

bytePtr += j * sizeof( unsigned short );

which will now increment by too much.

The patch is untested since your tree currently doesn't build for me.