0_0_24664836_11540.cpp: In function 'int init()': 0_0_24664836_11540.cpp:15:36: error: cannot convert 'trie' to 'void*' for argument '1' to 'void* memset(void*, int, size_t)' memset(tree[cnt],0,sizeof(trie)); ^