@LarsGit223 I think it's a case of over-carefulness: no, there is nothing guaranteeing the size of a data pointer and the size of a function pointer to be equal [1], but in practice I would expect this to always be the case, especially on platforms where GTK+ works. But as the check is here, I'd keep it, maybe just changing it to a `MAX()` if anything.
[1] actually in theory pointer to different data types could be incompatible, but it's kinda irrelevant void* ought to be able to store pointers to any type, so there's little reasons for other pointers not to simply have the same size. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/794#issuecomment-442951556
