Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extended Vending Warning #70

Open
bWolfie opened this issue Mar 4, 2024 · 0 comments
Open

Extended Vending Warning #70

bWolfie opened this issue Mar 4, 2024 · 0 comments

Comments

@bWolfie
Copy link

bWolfie commented Mar 4, 2024

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);
  ^~~~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant