Skip to content

Commit

Permalink
Silence a warning on SPARC64.
Browse files Browse the repository at this point in the history
  • Loading branch information
theraven committed Oct 30, 2011
1 parent 63b07b4 commit 9fae0d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime.c
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ id class_createInstance(Class cls, size_t extraBytes)
{
if (cls == SmallObjectClasses[i])
{
return (id)(i<<1)+1;
return (id)(uintptr_t)((i<<1)+1);
}
}
}
Expand Down

0 comments on commit 9fae0d1

Please sign in to comment.