You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2012/10/05 03:17:47 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=13469946#comment-13469946 ] 

Hudson commented on THRIFT-1709:
--------------------------------

Integrated in Thrift #544 (See [https://builds.apache.org/job/Thrift/544/])
    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()
Client: csharp
Patch: Jens Geyer

Fixes warning at the byte shift operations due to a missing cast at the bitwise-or. (Revision 1394338)

     Result = FAILURE
                
> 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: Jens Geyer
>            Priority: Trivial
>             Fix For: 0.9
>
>         Attachments: THIFT-1709_Bitwise_or_operator_used_on_a_signextended_operand_at_ReadInt64().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