thread/syncprims-pub-impl.h: Fix bug #298. -- int to pointer cast error on
Xcode 5.1
Merge pull request #19 from wilx/1.1.x

thread/syncprims-pub-impl.h: Fix bug #298. -- int to pointer cast error on Xcode 5.1