Mercurial > hg > GearsTemplate
changeset 26:06fcbe45e85c
modify
author | Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 01 May 2015 13:40:11 +0900 |
parents | 390cf0523ea7 |
children | 44879c87c2dc 5d9f74220506 |
files | src/llrb/llrb.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);