Warning fixes.
Passing argument 1 of ‘strncmp’ from incompatible pointer type. Assignments from incompatible pointer types. Passing argument or initialization discards ‘const’ qualifier from pointer target type. JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
This commit is contained in:
@@ -129,7 +129,7 @@ lit_find_literal_by_utf8_string (const lit_utf8_byte_t *str_p, /**< a string to
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!strncmp (rec_p + 1, (const char *) str_p, str_size))
|
||||
if (!strncmp ((const char *) (rec_p + 1), (const char *) str_p, str_size))
|
||||
{
|
||||
return lit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user