feeds_packages_libs_dmx_usb.../patches/100-fix-compilation-warning-wrong-cast.patch
zhao b1f20bb66a 添加 patches/100-fix-compilation-warning-wrong-cast.patch
Signed-off-by: zhao <zj18139624826@gmail.com>
2025-08-05 21:21:31 +08:00

12 lines
376 B
Diff

--- a/dmx_usb.c
+++ b/dmx_usb.c
@@ -406,7 +406,7 @@ static ssize_t dmx_usb_write (struct file *file, const char *buffer, size_t coun
dev = (struct dmx_usb_device *)file->private_data;
- dbg("%s - minor %d, count = %d", __FUNCTION__, dev->minor, count);
+ dbg("%s - minor %d, count = %zu", __FUNCTION__, dev->minor, count);
/* lock this object */
down (&dev->sem);