Grep for sal_uIntPtr in the code-base (preferably module-by-module, so any potential patches are of manageable size). Notice that tons of variables of that type are for things like 'nAnz', 'nCount', 'nFlags' etc, so clearly no pointer-y things at all. To further reduce the WTF-factor of the code base, replacing those obvious cases with size_t instead would be great. To the best of my knowledge, both types are defined equivalently on all current platforms, still, strive to ideally rename the entire usage around one occurence - i.e. change the function signature, all call sites, and any depending variables. Make sure to build the code with werror enabled.
*** This bug has been marked as a duplicate of bug 75280 ***
Migrating Whiteboard tags to Keywords: (EasyHack SkillCpp DifficultyBeginner TopicCleanup) [NinjaEdit]