qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fad...@apache.org
Subject svn commit: r1622873 - /qpid/proton/trunk/proton-c/src/codec/decoder.c
Date Sat, 06 Sep 2014 15:18:38 GMT
Author: fadams
Date: Sat Sep  6 15:18:37 2014
New Revision: 1622873

URL: http://svn.apache.org/r1622873
Log:
PROTON-662: decoder.c pn_decoder_decode_value has a test that won't correctly execute.

Modified:
    qpid/proton/trunk/proton-c/src/codec/decoder.c

Modified: qpid/proton/trunk/proton-c/src/codec/decoder.c
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/src/codec/decoder.c?rev=1622873&r1=1622872&r2=1622873&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/src/codec/decoder.c (original)
+++ qpid/proton/trunk/proton-c/src/codec/decoder.c Sat Sep  6 15:18:37 2014
@@ -395,7 +395,7 @@ int pn_decoder_decode_value(pn_decoder_t
         int e = pn_decoder_decode_type(decoder, data, &acode);
         if (e) return e;
         pn_type_t type = pn_code2type(acode);
-        if (type < 0) return type;
+        if ((int)type < 0) return (int)type;
         for (size_t i = 0; i < count; i++)
         {
           e = pn_decoder_decode_value(decoder, data, acode);



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message