HPM-Plugins
HPM-Plugins copied to clipboard
Extended Vending Warning
After updating to latest Hercules (2024-02), I receive this warning on ExtendedVending plugin. Using GCC 7.
In file included from ExtendedVending.c:55:0:
ExtendedVending.c: In function ‘plugin_init’:
../plugins/HPMHooking.h:53:53: warning: comparison of distinct pointer types lacks a cast
(void)((HPMHOOK_pre_ ## ifname ## _ ## funcname)0 == (hook)), \
^
ExtendedVending.c:981:2: note: in expansion of macro ‘addHookPre’
addHookPre(vending, purchase, vending_purchasereq_mod);
^~~~~~~~~~