Skip to content

Instantly share code, notes, and snippets.

@kimuraw
Created July 31, 2012 12:51
Show Gist options
  • Save kimuraw/3216854 to your computer and use it in GitHub Desktop.
Save kimuraw/3216854 to your computer and use it in GitHub Desktop.
Fix crash boehmgc-7.2c on Mac OS X 10.8 Mountain Lion
--- misc.c.orig 2012-07-31 21:33:45.000000000 +0900
+++ misc.c 2012-07-31 21:34:09.000000000 +0900
@@ -283,7 +283,7 @@
/* not static because it could also be errorneously defined in .S */
/* file, so this error would be caught by the linker. */
/*ARGSUSED*/
- void * GC_clear_stack_inner(void *arg, ptr_t limit)
+ void * GC_clear_stack_inner(void *arg, volatile ptr_t limit)
{
word dummy[CLEAR_SIZE];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment