From 35a4972bb37e2db5164a15c0ca2c251091fd8c10 Mon Sep 17 00:00:00 2001 From: magnum Date: Thu, 28 Jun 2018 19:18:16 +0200 Subject: [PATCH] Mute another macOS -Wpointer-sign warning. --- src/interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface.c b/src/interface.c index 91566fdd8..b7adb744d 100644 --- a/src/interface.c +++ b/src/interface.c @@ -2496,7 +2496,7 @@ static int input_tokenizer (u8 *input_buf, int input_len, token_t *token) { if (token->attr[token_idx] & TOKEN_ATTR_OPTIONAL_ROUNDS) { - const int len = rounds_count_length (token->buf[token_idx], len_left); + const int len = rounds_count_length ((char *)token->buf[token_idx], len_left); token->opt_buf = token->buf[token_idx];