Skip to content
Browse files

Add temporary fix for issue #378

  • Loading branch information...
1 parent f4e8318 commit ecaac1a7190dff8b569db7f5115e48d82035f8a1 @gerdr gerdr committed Mar 18, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/gc/string_gc.c
View
3 src/gc/string_gc.c
@@ -674,7 +674,8 @@ aligned_mem(ARGIN(SHIM(const Parrot_Buffer *buffer)), ARGIN(char *mem))
{
ASSERT_ARGS(aligned_mem)
mem += sizeof (void *);
- mem = (char *)(((unsigned long)(mem + WORD_ALIGN_1)) & WORD_ALIGN_MASK);
+ // FIXME: issue #378
+ mem = (char *)(((UINTVAL)(mem + WORD_ALIGN_1)) & WORD_ALIGN_MASK);
return mem;
}

0 comments on commit ecaac1a

Please sign in to comment.
Something went wrong with that request. Please try again.