# HG changeset patch # User Shohei KOKUBO # Date 1430455211 -32400 # Node ID 06fcbe45e85c8a8e754cfb9c8c1777fbe72b666b # Parent 390cf0523ea7a62d6b0142f7aaa2948d6ad152d1 modify diff -r 390cf0523ea7 -r 06fcbe45e85c src/llrb/llrb.c --- a/src/llrb/llrb.c Fri May 01 05:35:10 2015 +0900 +++ b/src/llrb/llrb.c Fri May 01 13:40:11 2015 +0900 @@ -278,7 +278,7 @@ int main(int argc, char** argv) { num = (int)atoi(argv[1]); - pstack = stack_init(sizeof(union Data*), num/2); + pstack = stack_init(sizeof(union Data*), num); struct Context* context = (struct Context*)malloc(sizeof(struct Context)); initLLRBContext(context); goto start_code(context, Code1);