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:
Robert Sipka
2016-03-07 14:02:26 +01:00
parent 25b0750756
commit 0b5a49f98b
9 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -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;
}