building error fixed.

type error when building with armv64 device.
https://github.com/demon1105/PinterestSwift/issues/2