projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc1b889
)
[sgen] Fix build on C99.
author
Mark Probst
<mark.probst@gmail.com>
Tue, 7 Oct 2014 00:13:31 +0000
(17:13 -0700)
committer
Mark Probst
<mark.probst@gmail.com>
Wed, 26 Nov 2014 18:38:45 +0000
(10:38 -0800)
mono/metadata/sgen-marksweep.c
patch
|
blob
|
history
diff --git
a/mono/metadata/sgen-marksweep.c
b/mono/metadata/sgen-marksweep.c
index 01e5cca3597ed689de5e3190fac93fd05fe345e7..585785ec91c549b1c736a68cddbed492ae210fdc 100644
(file)
--- a/
mono/metadata/sgen-marksweep.c
+++ b/
mono/metadata/sgen-marksweep.c
@@
-1054,7
+1054,8
@@
static gboolean
drain_gray_stack (ScanCopyContext ctx)
{
gboolean evacuation = FALSE;
- for (int i = 0; i < num_block_obj_sizes; ++i) {
+ int i;
+ for (i = 0; i < num_block_obj_sizes; ++i) {
if (evacuate_block_obj_sizes [i]) {
evacuation = TRUE;
break;