[Pkg-voip-commits] [bctoolbox] 43/57: [Patch integration] Fix comparison between signed and unsigned integers

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 a7826fe7f2e8581cfbd85d60e7841954eb515335
Author: François Grisez <francois.grisez at belledonne-communications.com>
Date:   Fri Feb 3 11:37:29 2017 +0100

    [Patch integration] Fix comparison between signed and unsigned integers
    
    Original patch information:
    
    From cd53f8262a50082fb6bb087c7c3410ccc6f77d80 Mon Sep 17 00:00:00 2001
    From: Angelo Aresi <angelo.aresi at bticino.it>
    Date: Fri, 3 Feb 2017 08:24:52 +0100
    Subject: [PATCH] Fix comparison between signed and unsigned int
---
 src/crypto/polarssl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/crypto/polarssl.c b/src/crypto/polarssl.c
index 14c5c5e..a998575 100644
--- a/src/crypto/polarssl.c
+++ b/src/crypto/polarssl.c
@@ -452,7 +452,7 @@ int32_t bctbx_x509_certificate_get_fingerprint(const bctbx_x509_certificate_t *c
 	}
 
 	if (hash_length>0) {
-		int i;
+		size_t i;
 		int fingerprint_index = strlen(hash_alg_string);
 		char prefix=' ';
 
@@ -1071,7 +1071,7 @@ int32_t bctbx_ssl_config_set_own_cert(bctbx_ssl_config_t *ssl_config, bctbx_x509
 /** DTLS SRTP functions **/
 #ifdef HAVE_DTLS_SRTP
 int32_t bctbx_ssl_config_set_dtls_srtp_protection_profiles(bctbx_ssl_config_t *ssl_config, const bctbx_dtls_srtp_profile_t *profiles, size_t profiles_number) {
-	int i;
+	size_t i;
 
 	if (ssl_config == NULL) {
 		return BCTBX_ERROR_INVALID_SSL_CONFIG;

-- 
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