summaryrefslogtreecommitdiff
path: root/src/bin/eolian/sources.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-06 18:00:39 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-09 11:43:59 +0000
commit9f63f356fcf131fcd7bd44352035e7f0ca8b8681 (patch)
tree074631ccc13aa9847f411cd946b0931cafe1729b /src/bin/eolian/sources.c
parent172f6000d68a4c157b2d015aa1f32f91c5d180ae (diff)
eolian - fix warnings about strin truncation by expanding buffers
fixes noisy warnings...
Diffstat (limited to 'src/bin/eolian/sources.c')
-rw-r--r--src/bin/eolian/sources.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/eolian/sources.c b/src/bin/eolian/sources.c
index 3ac3b48391..3904d9823d 100644
--- a/src/bin/eolian/sources.c
+++ b/src/bin/eolian/sources.c
@@ -1096,7 +1096,7 @@ _gen_proto(const Eolian_Class *cl, const Eolian_Function *fid,
1096 if (!impl_same_class) 1096 if (!impl_same_class)
1097 eo_gen_class_names_get(eolian_implement_class_get(impl), NULL, NULL, &ocnamel); 1097 eo_gen_class_names_get(eolian_implement_class_get(impl), NULL, NULL, &ocnamel);
1098 1098
1099 char fname[256], iname[256]; 1099 char fname[256 + 128], iname[256];
1100 if (!impl_same_class) 1100 if (!impl_same_class)
1101 snprintf(iname, sizeof(iname), "%s_%s", cnamel, ocnamel); 1101 snprintf(iname, sizeof(iname), "%s_%s", cnamel, ocnamel);
1102 else 1102 else