summaryrefslogtreecommitdiff
path: root/os_dep.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2011-12-29 07:38:09 +0100
committerIvan Maidanski <ivmai@mail.ru>2011-12-30 10:56:05 +0100
commit574ba454e539aaf7af7df42f81d71ceab9cd82e7 (patch)
tree8f8722cdf778d577b1cdf48d2ca4bb988db57b77 /os_dep.c
parent8d17416db79ced5329f843e89a1010ac3bb827f0 (diff)
Fix GC_ASSERT usage (fix missing trailing semi-colon)
* misc.c (GC_init): Append ';' after GC_ASSERT(). * os_dep.c (GC_protect_heap): Likewise.
Diffstat (limited to 'os_dep.c')
-rw-r--r--os_dep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os_dep.c b/os_dep.c
index 1c0b73e..d963793 100644
--- a/os_dep.c
+++ b/os_dep.c
@@ -3378,8 +3378,8 @@ STATIC void GC_protect_heap(void)
if (protect_all) {
PROTECT(start, len);
} else {
- GC_ASSERT(PAGE_ALIGNED(len))
- GC_ASSERT(PAGE_ALIGNED(start))
+ GC_ASSERT(PAGE_ALIGNED(len));
+ GC_ASSERT(PAGE_ALIGNED(start));
current_start = current = (struct hblk *)start;
limit = (struct hblk *)(start + len);
while (current < limit) {