Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Langley <agl@google.com>2015-10-30 23:43:49 +0300
committerAdam Langley <agl@google.com>2015-10-31 00:11:48 +0300
commitd9e817309a6860bca4addd5c0d034897d66d3913 (patch)
treee05754851c0aa42852a55ae73d3d3c70e3194947 /crypto/bio
parentbb85f3d655dd3a9446cedeff15531b227847cc5d (diff)
Fix several warnings that arise in Android.
Android is now using Ninja so it doesn't spew so much to the terminal and thus any warnings in BoringSSL (which builds really early in the process) and much more obvious. Thus this change fixes a few warnings that appear in the Android build. Change-Id: Id255ace90fece772a1c3a718c877559ce920b960 Reviewed-on: https://boringssl-review.googlesource.com/6400 Reviewed-by: David Benjamin <davidben@chromium.org> Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/bio')
-rw-r--r--crypto/bio/socket_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bio/socket_helper.c b/crypto/bio/socket_helper.c
index 01f635eb..96d7c247 100644
--- a/crypto/bio/socket_helper.c
+++ b/crypto/bio/socket_helper.c
@@ -59,7 +59,7 @@ int bio_ip_and_port_to_socket_and_addr(int *out_sock,
ret = 0;
for (cur = result; cur; cur = cur->ai_next) {
- if (cur->ai_addrlen > sizeof(struct sockaddr_storage)) {
+ if ((size_t) cur->ai_addrlen > sizeof(struct sockaddr_storage)) {
continue;
}
memset(out_addr, 0, sizeof(struct sockaddr_storage));