diff options
author | Slávek Banko <[email protected]> | 2024-04-14 20:26:32 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2024-04-14 20:26:32 +0200 |
commit | 7720a8f7b3eba8cd055a0b66f43a92d30a3d586a (patch) | |
tree | 924c9633dba0f18efeafa5ab2068e1614ac6bc59 | |
parent | 81824589c9d73d16e4228f9f2fab7ba181add70e (diff) | |
download | tdeedu-7720a8f7b3eba8cd055a0b66f43a92d30a3d586a.tar.gz tdeedu-7720a8f7b3eba8cd055a0b66f43a92d30a3d586a.zip |
kstars: Fix FTBFS caused by incompatible cast on *BSD systems.
Signed-off-by: Slávek Banko <[email protected]>
-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; |