X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FLdvProfile.h;h=5380c92f56853fa605ecfaae12f96dfb5628b6f9;hb=70b761657f7707075302d7fa9f1ddba41247539e;hp=d85b95cd6ade6dbeefef61a7876855f3683ceace;hpb=0065d5ab628975892cea1ec7303f968c3338cbe1;p=ghc-hetmet.git diff --git a/rts/LdvProfile.h b/rts/LdvProfile.h index d85b95c..5380c92 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; \ }