summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;