summaryrefslogtreecommitdiff
path: root/rts/LdvProfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'rts/LdvProfile.h')
-rw-r--r--rts/LdvProfile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/LdvProfile.h b/rts/LdvProfile.h
index d85b95cd6a..5380c92f56 100644
--- a/rts/LdvProfile.h
+++ b/rts/LdvProfile.h
@@ -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; \
}