ugly hack for 32bit warnings.

This needs to just go away entirely on 32bit builds. Will do later.