summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2024-04-14 20:26:32 +0200
committerSlávek Banko <[email protected]>2024-04-14 20:26:32 +0200
commit7720a8f7b3eba8cd055a0b66f43a92d30a3d586a (patch)
tree924c9633dba0f18efeafa5ab2068e1614ac6bc59
parent81824589c9d73d16e4228f9f2fab7ba181add70e (diff)
downloadtdeedu-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.c2
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;