Commit 77b7c34f authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Fix an off-by-one; fixes the second bug in trac #3001

parent d8664a2e
......@@ -27,7 +27,7 @@ extern void LdvCensusKillAll ( void );
#define LDV_FILL_SLOP(from, howManyBackwards) \
if (era > 0) { \
int i; \
for (i = 0;i < (howManyBackwards); i++) \
for (i = 1;i <= (howManyBackwards); i++) \
((StgWord *)(from))[-i] = 0; \
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment