Created attachment 552231 [details] [diff] [review] fix build Fix build with clang and c++0x. mShWidth and mShHeight are used in an initializer list for NPRect in fields that have time uint16_t. Change their definitions to match.
Comment on attachment 552231 [details] [diff] [review] fix build mShWidth and mShHeight are also used for "CGBitmapContextCreate", which wants size_t, and "CGRectMake", which wants CGFloat. Is the logic here to make the stored value the smallest of all the requirements?
Almost. It is one that will not lose a value when going to uint16_t in a initializer list (which is the c++0x restriction).