projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24ad9cf
)
fix a tiny bug spotted by gcc 4.3
author
Simon Marlow
<marlowsd@gmail.com>
Thu, 19 Jun 2008 10:09:04 +0000
(10:09 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Thu, 19 Jun 2008 10:09:04 +0000
(10:09 +0000)
rts/sm/BlockAlloc.c
patch
|
blob
|
history
diff --git
a/rts/sm/BlockAlloc.c
b/rts/sm/BlockAlloc.c
index
0bffa82
..
81baf6c
100644
(file)
--- a/
rts/sm/BlockAlloc.c
+++ b/
rts/sm/BlockAlloc.c
@@
-332,7
+332,7
@@
allocGroup (nat n)
ln = log_2_ceil(n);
- while (free_list[ln] == NULL && ln < MAX_FREE_LIST) {
+ while (ln < MAX_FREE_LIST && free_list[ln] == NULL) {
ln++;
}