[
https://issues.apache.org/jira/browse/THRIFT-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13130299#comment-13130299
]
Kenjiro Fukumitsu edited comment on THRIFT-1395 at 10/19/11 1:23 AM:
---------------------------------------------------------------------
Hi.
I think values should be compared to 0x7F(FF)**, not 0x7F(00)*.
was (Author: kenjiro):
Hi.
I think values should be compared to 0x7F(FF)*, not 0x7F(00)*.
> Patch to prevent warnings for integer types in some cases
> ---------------------------------------------------------
>
> Key: THRIFT-1395
> URL: https://issues.apache.org/jira/browse/THRIFT-1395
> Project: Thrift
> Issue Type: Improvement
> Affects Versions: 0.8
> Environment: Windows
> Reporter: Jens Geyer
> Attachments:
> THRIFT-1395_Patch_to_prevent_warnings_for_integer_types_in_some_cases.zip
>
>
> Constants such as i32 = 0x80000000 produce a Delphi warning. The current code
> renders such values as positive integer, which needs an explicit typecast to
> satisfy the Delphi compiler.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira