View Single Post
Old 08-21-2009, 05:37 AM   #123
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
I think I found the solution. It's the type conversion error when calling malloc(). To solve it, add (char*) , (int*) or whatever the desired veriable type (depending on the type of parameter to be passed to sizeof()) before malloc().
ericshliao is offline   Reply With Quote