添加 patches/100-fix-compilation-warning-wrong-cast.patch
Signed-off-by: zhao <zj18139624826@gmail.com>
This commit is contained in:
parent
01dd1ea6bf
commit
b1f20bb66a
11
patches/100-fix-compilation-warning-wrong-cast.patch
Normal file
11
patches/100-fix-compilation-warning-wrong-cast.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- 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);
|
Loading…
x
Reference in New Issue
Block a user