summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/evas_map_image_internal.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/evas/common/evas_map_image_internal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/common/evas_map_image_internal.c b/src/lib/evas/common/evas_map_image_internal.c
index f3238b2420..d124eedbee 100644
--- a/src/lib/evas/common/evas_map_image_internal.c
+++ b/src/lib/evas/common/evas_map_image_internal.c
@@ -76,8 +76,8 @@ FUNC_NAME(RGBA_Image *src, RGBA_Image *dst,
76 } 76 }
77 77
78 // allocate some spans to hold out span list 78 // allocate some spans to hold out span list
79 spans = alloca((yend - ystart + 1) * sizeof(Line)); 79 spans = alloca((yend - ystart + 3) * sizeof(Line));
80 memset(spans, 0, (yend - ystart + 1) * sizeof(Line)); 80 memset(spans, 0, (yend - ystart + 3) * sizeof(Line));
81 81
82 // calculate the spans list 82 // calculate the spans list
83 _calc_spans(p, spans, ystart, yend, cx, cy, cw, ch); 83 _calc_spans(p, spans, ystart, yend, cx, cy, cw, ch);