Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
gpderetta
5y ago
0 comments
Share
and if you fix the void->int, the warning goes away.
undefined | Better HN
0 comments
default
newest
oldest
htfy96
5y 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