Permalink
Browse files

Merge pull request #1 from jpf91/428a7573896962acfdd8132465b1f4af0ff3…

…aea8

Fix GC on Android
  • Loading branch information...
ibuclaw committed Mar 25, 2012
2 parents 2ab0d34 + 428a757 commit 2b6b1a3baaa71bc7c1ad2b180db31e9093bc66f5
Showing with 1 addition and 1 deletion.
  1. +1 −1 d/druntime/rt/memory.d
View
@@ -119,7 +119,7 @@ extern (C) void* rt_stackBottom()
version(Android)
{
int stackSize;
- return __get_stack_base(&stackSize);
+ return __get_stack_base(&stackSize) + stackSize;
}
else version( SimpleLibcStackEnd )
{

0 comments on commit 2b6b1a3

Please sign in to comment.