diff options
author | David Benjamin <davidben@chromium.org> | 2014-10-01 05:00:38 +0400 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2014-10-01 06:17:38 +0400 |
commit | fb3ff2c66cc873150022a4ab87ac72dd9d78b549 (patch) | |
tree | 1a1c9e5afda5354c6e3a4f0442699703c9141301 /ssl/d1_srtp.c | |
parent | 5e77bd449e9d7050d59271db157e3fc8957e23e9 (diff) |
Don't compare signed vs. unsigned.
This resolves a pile of MSVC warnings in Chromium.
Change-Id: Ib9a29cb88d8ed8ec4118d153260f775be059a803
Reviewed-on: https://boringssl-review.googlesource.com/1865
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'ssl/d1_srtp.c')
-rw-r--r-- | ssl/d1_srtp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/d1_srtp.c b/ssl/d1_srtp.c index 1f909dec..bc278c37 100644 --- a/ssl/d1_srtp.c +++ b/ssl/d1_srtp.c @@ -312,7 +312,7 @@ int ssl_parse_clienthello_use_srtp_ext(SSL *s, CBS *cbs, int *out_alert) CBS profile_ids, srtp_mki; SRTP_PROTECTION_PROFILE *cprof, *sprof; STACK_OF(SRTP_PROTECTION_PROFILE) *clnt = 0,*srvr; - int i,j; + size_t i,j; int ret = 0; if (!CBS_get_u16_length_prefixed(cbs, &profile_ids) || @@ -405,7 +405,7 @@ int ssl_parse_serverhello_use_srtp_ext(SSL *s, CBS *cbs, int *out_alert) { CBS profile_ids, srtp_mki; uint16_t profile_id; - int i; + size_t i; STACK_OF(SRTP_PROTECTION_PROFILE) *clnt; SRTP_PROTECTION_PROFILE *prof; |