diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2024-04-14 20:26:32 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2024-04-15 02:58:59 +0200 |
commit | 2b50eee093583106e736f40d2e4780c661138645 (patch) | |
tree | a6764246cbef2c1f640eec4602717caf846eabf5 | |
parent | f3c1d301fb30cf1be8ad3f7d9a6f968a61c2a810 (diff) | |
download | tdeedu-2b50eee093583106e736f40d2e4780c661138645.tar.gz tdeedu-2b50eee093583106e736f40d2e4780c661138645.zip |
kstars: Fix FTBFS caused by incompatible cast on *BSD systems.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 7720a8f7b3eba8cd055a0b66f43a92d30a3d586a)
-rw-r--r-- | kstars/kstars/indi/fli/libfli-usb-sys-bsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kstars/kstars/indi/fli/libfli-usb-sys-bsd.c b/kstars/kstars/indi/fli/libfli-usb-sys-bsd.c index caccf859..cf9ff447 100644 --- a/kstars/kstars/indi/fli/libfli-usb-sys-bsd.c +++ b/kstars/kstars/indi/fli/libfli-usb-sys-bsd.c @@ -93,7 +93,7 @@ long unix_usbverifydescriptor(flidev_t dev, fli_unixio_t *io) break; } - DEVICE->devinfo.fwrev = usb_desc.bcdDevice; + DEVICE->devinfo.fwrev = (long)usb_desc.bcdDevice; } return 0; |