Hacker News new | ask | show | jobs
by kelnos 1048 days ago
Heh, this was my first thought as well, and it does indeed compile and work (with GCC 12.2, anyway).
1 comments

Yeah, this is what I saw in some example code. Also you don't need the (void*), at least not with clang or GCC trunk on compiler explorer: https://godbolt.org/z/a8rP91dKr