Fix incompatible pointer type in bus.c #56
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There is some system info:
uname -a Linux fedora 6.11.7-300.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 8 19:23:10 UTC 2024 x86_64 GNU/Linux
Compiler not happy when installing on my Fedora 41 (tested on master and mainline branches):
Simple fix make compiler happy, installation now working, xbox one controller also now working, me happy:
➜ fix-bus-invalid-cast git:(fix-bus-incompatible-pointer) sudo ./install.sh Installing xone v0.3-58-g1689d1b... Sign command: /lib/modules/6.11.7-300.fc41.x86_64/build/scripts/sign-file Signing key: /var/lib/dkms/mok.key Public certificate (MOK): /var/lib/dkms/mok.pub Creating symlink /var/lib/dkms/xone/v0.3-58-g1689d1b/source -> /usr/src/xone-v0.3-58-g1689d1b Cleaning build area... done. Building module(s).... done. Signing module /var/lib/dkms/xone/v0.3-58-g1689d1b/build/xone-wired.ko Signing module /var/lib/dkms/xone/v0.3-58-g1689d1b/build/xone-dongle.ko Signing module /var/lib/dkms/xone/v0.3-58-g1689d1b/build/xone-gip.ko Signing module /var/lib/dkms/xone/v0.3-58-g1689d1b/build/xone-gip-gamepad.ko Signing module /var/lib/dkms/xone/v0.3-58-g1689d1b/build/xone-gip-headset.ko Signing module /var/lib/dkms/xone/v0.3-58-g1689d1b/build/xone-gip-chatpad.ko Signing module /var/lib/dkms/xone/v0.3-58-g1689d1b/build/xone-gip-madcatz-strat.ko Signing module /var/lib/dkms/xone/v0.3-58-g1689d1b/build/xone-gip-madcatz-glam.ko Signing module /var/lib/dkms/xone/v0.3-58-g1689d1b/build/xone-gip-pdp-jaguar.ko Cleaning build area... done. Installing /lib/modules/6.11.7-300.fc41.x86_64/extra/xone-wired.ko.xz Installing /lib/modules/6.11.7-300.fc41.x86_64/extra/xone-dongle.ko.xz Installing /lib/modules/6.11.7-300.fc41.x86_64/extra/xone-gip.ko.xz Installing /lib/modules/6.11.7-300.fc41.x86_64/extra/xone-gip-gamepad.ko.xz Installing /lib/modules/6.11.7-300.fc41.x86_64/extra/xone-gip-headset.ko.xz Installing /lib/modules/6.11.7-300.fc41.x86_64/extra/xone-gip-chatpad.ko.xz Installing /lib/modules/6.11.7-300.fc41.x86_64/extra/xone-gip-madcatz-strat.ko.xz Installing /lib/modules/6.11.7-300.fc41.x86_64/extra/xone-gip-madcatz-glam.ko.xz Installing /lib/modules/6.11.7-300.fc41.x86_64/extra/xone-gip-pdp-jaguar.ko.xz Running depmod.... done.