gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 109/205: openssl: fix comparison between signed and


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 109/205: openssl: fix comparison between signed and unsigned integer expressions
Date: Thu, 20 Apr 2017 16:20:49 +0200

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

ng0 pushed a commit to annotated tag gnurl-7.54.0
in repository gnurl.

commit 68aac9a831172674063dc94a04fd066ba93628ca
Author: Daniel Stenberg <address@hidden>
AuthorDate: Thu Mar 23 23:04:38 2017 +0100

    openssl: fix comparison between signed and unsigned integer expressions
---
 lib/vtls/openssl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
index 3b34479bb..8eb1e5ab9 100644
--- a/lib/vtls/openssl.c
+++ b/lib/vtls/openssl.c
@@ -176,7 +176,7 @@ static const char *SSL_ERROR_to_str(int err)
     "SSL_ERROR_WANT_ASYNC_JOB",     /* 10 */
     "SSL_ERROR_WANT_EARLY",         /* 11 */
   };
-  return ((err >= 0 && err < sizeof str / sizeof str[0]) ?
+  return ((err >= 0 && err < (int)(sizeof str / sizeof str[0])) ?
           str[err] : "SSL_ERROR unknown");
 }
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]