You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2013/07/02 23:25:20 UTC
[jira] [Commented] (THRIFT-1709) Warning "Bitwise-or operator used
on a sign-extended operand; consider casting to a smaller unsigned type
first" in TBinaryProtocol.cs at ReadInt64()
[ https://issues.apache.org/jira/browse/THRIFT-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13698246#comment-13698246 ]
Jens Geyer commented on THRIFT-1709:
------------------------------------
The [^THRIFT-1790_disable_warning_via_pragma.patch] patch now finally just disables the warning.
> Warning "Bitwise-or operator used on a sign-extended operand; consider casting to a smaller unsigned type first" in TBinaryProtocol.cs at ReadInt64()
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: THRIFT-1709
> URL: https://issues.apache.org/jira/browse/THRIFT-1709
> Project: Thrift
> Issue Type: Bug
> Components: C# - Library
> Affects Versions: 0.8, 0.9
> Environment: Windows + Silverlight + WP7
> Reporter: Jens Geyer
> Assignee: Jake Farrell
> Priority: Trivial
> Fix For: 0.9
>
> Attachments: THIFT-1709_Bitwise_or_operator_used_on_a_signextended_operand_at_ReadInt64().patch, Thrift-1709.patch, THRIFT-1790_disable_warning_via_pragma.patch
>
>
> There's an annoying warning at the byte shift operations due to a missing cast at the bitwise-or.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira