Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add temporary fix for issue #378

  • Loading branch information...
commit ecaac1a7190dff8b569db7f5115e48d82035f8a1 1 parent f4e8318
@gerdr gerdr authored
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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.