[Pkg-voip-commits] [bctoolbox] 44/57: fix compilation error with polarssl

daniel at gnoutcheff.name daniel at gnoutcheff.name
Thu Mar 30 04:31:34 UTC 2017


This is an automated email from the git hooks/post-receive script.

gnoutchd-guest pushed a commit to branch debian/sid
in repository bctoolbox.

commit c1481fd990324cb49dcf0bef1327d8207322069f
Author: Simon Morlat <simon.morlat at linphone.org>
Date:   Fri Feb 3 15:59:36 2017 +0100

    fix compilation error with polarssl
---
 src/crypto/polarssl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/crypto/polarssl.c b/src/crypto/polarssl.c
index a998575..5870bf9 100644
--- a/src/crypto/polarssl.c
+++ b/src/crypto/polarssl.c
@@ -463,7 +463,7 @@ int32_t bctbx_x509_certificate_get_fingerprint(const bctbx_x509_certificate_t *c
 		}
 
 		snprintf(fingerprint, fingerprint_size, "%s", hash_alg_string);
-		for (i=0; i<hash_length; i++, fingerprint_index+=3) {
+		for (i=0; i<(int)hash_length; i++, fingerprint_index+=3) {
 			snprintf((char*)fingerprint+fingerprint_index, fingerprint_size-fingerprint_index, "%c%02X", prefix,buffer[i]);
 			prefix=':';
 		}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/bctoolbox.git



More information about the Pkg-voip-commits mailing list