diff --git a/src/bin/edje/edje_cc_parse.c b/src/bin/edje/edje_cc_parse.c index 9592994735..f03adf5e14 100644 --- a/src/bin/edje/edje_cc_parse.c +++ b/src/bin/edje/edje_cc_parse.c @@ -388,7 +388,7 @@ next_token(char *p, char *end, char **new_p, int *delim) tmpstr = alloca(l + 1); strncpy(tmpstr, p, l); tmpstr[l] = 0; - if (l >= sizeof(fl)) + if (l >= (int)sizeof(fl)) { ERR("Line too long: %i chars: %s", l, tmpstr); err_show(); diff --git a/src/bin/elementary/elm_prefs_cc_parse.c b/src/bin/elementary/elm_prefs_cc_parse.c index e3002fc69c..7305dbc772 100644 --- a/src/bin/elementary/elm_prefs_cc_parse.c +++ b/src/bin/elementary/elm_prefs_cc_parse.c @@ -296,7 +296,7 @@ next_token(char *p, char *end, char **new_p, int *delim) } strncpy(tmpstr, p, l); tmpstr[l] = 0; - if (l >= sizeof(fl)) + if (l >= (int)sizeof(fl)) { ERR("Line too long: %i chars: %s", l, tmpstr); exit(-1);