Add casts where needed in C++ mode
Otherwise, -fpermissive must be passed.
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user