SOURCES: libusb-gcc4.patch (NEW) - use proper 32/64 printf format ...
pluto
pluto at pld-linux.org
Sun Jan 22 19:57:31 CET 2006
Author: pluto Date: Sun Jan 22 18:57:29 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- use proper 32/64 printf format (-Werror kills build).
---- Files affected:
SOURCES:
libusb-gcc4.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/libusb-gcc4.patch
diff -u /dev/null SOURCES/libusb-gcc4.patch:1.1
--- /dev/null Sun Jan 22 19:57:29 2006
+++ SOURCES/libusb-gcc4.patch Sun Jan 22 19:57:24 2006
@@ -0,0 +1,11 @@
+--- libusb-0.1.11/linux.c.orig 2006-01-20 00:25:05.000000000 +0100
++++ libusb-0.1.11/linux.c 2006-01-22 19:52:22.682463750 +0100
+@@ -564,7 +564,7 @@
+ dev->children = malloc(sizeof(struct usb_device *) * dev->num_children);
+ if (!dev->children) {
+ if (usb_debug > 1)
+- fprintf(stderr, "error allocating %d bytes memory for dev->children\n",
++ fprintf(stderr, "error allocating %Zd bytes memory for dev->children\n",
+ sizeof(struct usb_device *) * dev->num_children);
+
+ dev->num_children = 0;
================================================================
More information about the pld-cvs-commit
mailing list