summaryrefslogtreecommitdiff
path: root/cont.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-28 00:38:21 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-28 00:38:21 +0000
commite53a60147ba68ab98fbe7a078b43311274d59f00 (patch)
tree429b1639cf5264a18cde0f48880055692f385aa4 /cont.c
parent8bc55563db64a73d33fc5983d3f7232cbad50d38 (diff)
* cont.c: typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cont.c b/cont.c
index db2a5a81b3..503cc5f475 100644
--- a/cont.c
+++ b/cont.c
@@ -41,7 +41,7 @@
#include <unistd.h>
#include <sys/mman.h>
#include <ucontext.h>
-# clean cast warnings.endif
+#endif
#define RB_PAGE_SIZE (pagesize)
#define RB_PAGE_MASK (~(RB_PAGE_SIZE - 1))
static long pagesize;
@@ -498,7 +498,7 @@ fiber_set_stack_location(void)
VALUE *ptr;
SET_MACHINE_STACK_END(&ptr);
- th->machine_stack_start = (void*)(((VALUE)ptr & PAGE_MASK) + STACK_UPPER(&ptr, 0, RB_PAGE_SIZE));
+ th->machine_stack_start = (void*)(((VALUE)ptr & RB_PAGE_MASK) + STACK_UPPER(&ptr, 0, RB_PAGE_SIZE));
}
static VOID CALLBACK