Repository: qpid-proton
Updated Branches:
  refs/heads/master f99337f1a -> c1a1df200


PROTON-911: Signed/unsigned confusion fix
- Fixes a warning picked up by the clang compiler.


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/c1a1df20
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/c1a1df20
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/c1a1df20

Branch: refs/heads/master
Commit: c1a1df200dc1fe1e912930dac96f40f5c6ff3678
Parents: f99337f
Author: Andrew Stitcher <astitc...@apache.org>
Authored: Thu Jul 2 10:10:09 2015 -0400
Committer: Andrew Stitcher <astitc...@apache.org>
Committed: Thu Jul 2 10:10:09 2015 -0400

----------------------------------------------------------------------
 proton-c/src/sasl/sasl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/c1a1df20/proton-c/src/sasl/sasl.c
----------------------------------------------------------------------
diff --git a/proton-c/src/sasl/sasl.c b/proton-c/src/sasl/sasl.c
index f054e8f..a33256c 100644
--- a/proton-c/src/sasl/sasl.c
+++ b/proton-c/src/sasl/sasl.c
@@ -380,7 +380,7 @@ static ssize_t pn_output_write_sasl_encrypt(pn_transport_t* 
transport, unsigned
   for (ssize_t processed = 0; processed<clear_size;) {
     pn_bytes_t encoded = pn_bytes(0, NULL);
     ssize_t encode_size = 
(clear_size-processed)<=max_buffer?(clear_size-processed):max_buffer;
-    size_t size = pni_sasl_impl_encode(transport, pn_bytes(encode_size, 
bytes+processed), &encoded);
+    ssize_t size = pni_sasl_impl_encode(transport, pn_bytes(encode_size, 
bytes+processed), &encoded);
     if (size<0) return size;
     if (size>0) {
       size = pn_buffer_append(out, encoded.start, encoded.size);


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

Reply via email to