HPM-Plugins icon indicating copy to clipboard operation
HPM-Plugins copied to clipboard

Extended Vending Warning

Open bWolfie opened this issue 11 months ago • 0 comments

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);
  ^~~~~~~~~~

bWolfie avatar Mar 04 '24 10:03 bWolfie