Merge BoringSSL d9e8173: Fix several warnings that arise in Android.

This commit is contained in:
Brian Smith 2015-11-07 16:49:45 -10:00
commit 4f04b96424
2 changed files with 3 additions and 1 deletions

View File

@ -132,7 +132,7 @@ static uint32_t load32(uint8_t *t) {
static void fe1305x2_frombytearray(fe1305x2 *r, const uint8_t *x,
unsigned long long xlen) {
int i;
unsigned i;
uint8_t t[17];
for (i = 0; (i < 16) && (i < xlen); i++) {

View File

@ -170,6 +170,7 @@ CPPFLAGS += \
-Wfloat-equal \
-Wformat=2 \
-Winvalid-pch \
-Wmissing-field-initializers \
-Wmissing-include-dirs \
-Wredundant-decls \
-Wsign-compare \
@ -191,6 +192,7 @@ endif
# -Wold-style-definition
CFLAGS += \
-Wbad-function-cast \
-Wmissing-field-initializers \
-Wnested-externs \
-Wstrict-prototypes \
$(NULL)