[ https://issues.apache.org/jira/browse/THRIFT-2180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14350452#comment-14350452 ]
Jeremy W. Sherman commented on THRIFT-2180: ------------------------------------------- I've opened THRIFT-3028 with a patch. I'd like to make it easier for Cocoa devs to add unit tests as well by adding an Xcode project with tests. A simple test like "If I write a message begin, can I read it back?" would have caught this issue. > Integer types issues in Cocoa lib on ARM64 > ------------------------------------------ > > Key: THRIFT-2180 > URL: https://issues.apache.org/jira/browse/THRIFT-2180 > Project: Thrift > Issue Type: Bug > Components: Cocoa - Library > Affects Versions: 0.9.1 > Environment: ARM64, iOS, xcode5 > Reporter: Sébastien martini > > When compiling the Cocoa library (using the current master) for iOS on ARM64, > xcode5 highlights several integer types warnings. > Several of these instances are originated from the issue that the [NSData > length] method returns an NSUInteger which is an unsigned long on ARM64 and > is often assigned to an int (int32) in the Cocoa lib. -- This message was sent by Atlassian JIRA (v6.3.4#6332)