forked from enlightenment/efl
eolian - fix warnings about strin truncation by expanding buffers
fixes noisy warnings...
This commit is contained in:
parent
172f6000d6
commit
9f63f356fc
|
@ -1096,7 +1096,7 @@ _gen_proto(const Eolian_Class *cl, const Eolian_Function *fid,
|
|||
if (!impl_same_class)
|
||||
eo_gen_class_names_get(eolian_implement_class_get(impl), NULL, NULL, &ocnamel);
|
||||
|
||||
char fname[256], iname[256];
|
||||
char fname[256 + 128], iname[256];
|
||||
if (!impl_same_class)
|
||||
snprintf(iname, sizeof(iname), "%s_%s", cnamel, ocnamel);
|
||||
else
|
||||
|
|
|
@ -107,7 +107,7 @@ static Eina_Bool
|
|||
expr_type_mismatch_error(const Eolian_Expression *lhs,
|
||||
const Eolian_Expression *rhs)
|
||||
{
|
||||
char buf[512];
|
||||
char buf[512 + 128];
|
||||
char tbuf[256];
|
||||
char ebuf[256];
|
||||
mask_to_str(expr_type_to_mask(lhs), tbuf);
|
||||
|
|
Loading…
Reference in New Issue