summaryrefslogtreecommitdiff
path: root/legacy/embryo/src/lib/embryo_str.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2010-09-19 02:51:46 +0000
committerCarsten Haitzler <raster@rasterman.com>2010-09-19 02:51:46 +0000
commit77e3899ad6b767d29135ab98ed56a4d16ccbd290 (patch)
tree9d7f91e4e4101f905891202be84e63141f5edf67 /legacy/embryo/src/lib/embryo_str.c
parent1a72827555e01fc0504e2d84c6882fdc3f7e398a (diff)
warnings--
SVN revision: 52450
Diffstat (limited to '')
-rw-r--r--legacy/embryo/src/lib/embryo_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/embryo/src/lib/embryo_str.c b/legacy/embryo/src/lib/embryo_str.c
index 653ff50bff..46a3284a13 100644
--- a/legacy/embryo/src/lib/embryo_str.c
+++ b/legacy/embryo/src/lib/embryo_str.c
@@ -276,7 +276,7 @@ _embryo_str_snprintf(Embryo_Program *ep, Embryo_Cell *params)
276 /* params[2] = bufsize */ 276 /* params[2] = bufsize */
277 /* params[3] = format_string */ 277 /* params[3] = format_string */
278 /* params[4] = first arg ... */ 278 /* params[4] = first arg ... */
279 if (params[0] < (3 * sizeof(Embryo_Cell))) return 0; 279 if (params[0] < (Embryo_Cell)(3 * sizeof(Embryo_Cell))) return 0;
280 if (params[2] <= 0) return 0; 280 if (params[2] <= 0) return 0;
281 STRGET(ep, s1, params[3]); 281 STRGET(ep, s1, params[3]);
282 if (!s1) return -1; 282 if (!s1) return -1;