]> git.meshlink.io Git - meshlink/commitdiff
Silence warnings about printing function pointers.
authorGuus Sliepen <guus@meshlink.io>
Sun, 6 Jun 2021 23:00:11 +0000 (01:00 +0200)
committerGuus Sliepen <guus@meshlink.io>
Sun, 6 Jun 2021 23:00:11 +0000 (01:00 +0200)
Cast function pointers first to intptr_t, then to void *. This silences
a warning from GCC that we are not actually allowed to print function
pointers using %p, which is not an issue on the platforms we support.


No differences found