Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
gpderetta
6y ago
0 comments
Save
Share
and if you fix the void->int, the warning goes away.
0 comments
1 comments · 1 top-level
top
newest
oldest
htfy96
6y ago
yeah that's why I changed int* to void* in the example, but I forgot to change new to malloc
j
/
k
navigate · click thread line to collapse