Add casts where needed in C++ mode

Otherwise, -fpermissive must be passed.
This commit is contained in:
Rosen Penev
2019-09-11 18:05:01 -07:00
parent 7f4df9ebff
commit fd8150769d
12 changed files with 161 additions and 159 deletions
+1 -1
View File
@@ -994,7 +994,7 @@ static int rounds_count_length (const char *input_buf, const int input_len)
if (memcmp (input_buf, rounds, 7) == 0)
{
char *next_pos = strchr (input_buf + 8, '$');
const char *next_pos = strchr (input_buf + 8, '$');
if (next_pos == NULL) return -1;