diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-07-28 00:38:21 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-07-28 00:38:21 +0000 |
commit | e53a60147ba68ab98fbe7a078b43311274d59f00 (patch) | |
tree | 429b1639cf5264a18cde0f48880055692f385aa4 /cont.c | |
parent | 8bc55563db64a73d33fc5983d3f7232cbad50d38 (diff) | |
download | ruby-e53a60147ba68ab98fbe7a078b43311274d59f00.tar.gz |
* 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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |