From: robertl Date: Wed, 29 Jun 2011 17:43:38 +0000 (+0000) Subject: Suppress warning on GCC 4.2 when building 32 bit mode. X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~11^2~882 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3dea01d51619361d4480bb1ba458f00bcf9e2eb4;p=gpsbabel.git Suppress warning on GCC 4.2 when building 32 bit mode. --- diff --git a/gpsbabel/mac/libusb/darwin.c b/gpsbabel/mac/libusb/darwin.c index d550fa6b1..91825cb05 100644 --- a/gpsbabel/mac/libusb/darwin.c +++ b/gpsbabel/mac/libusb/darwin.c @@ -1115,7 +1115,7 @@ int usb_os_find_devices(struct usb_bus *bus, struct usb_device **devices) result = (*(device))->GetDeviceAddress(device, (USBDeviceAddress *)&address); if (usb_debug >= 2) - fprintf(stderr, "usb_os_find_devices: Found USB device at location 0x%08x\n", location); + fprintf(stderr, "usb_os_find_devices: Found USB device at location 0x%08lx\n", location); /* first byte of location appears to be associated with the device's bus */ if (location >> 24 == bus_loc >> 24) { @@ -1142,7 +1142,7 @@ int usb_os_find_devices(struct usb_bus *bus, struct usb_device **devices) LIST_ADD(fdev, dev); if (usb_debug >= 2) - fprintf(stderr, "usb_os_find_devices: Found %s on %s at location 0x%08x\n", + fprintf(stderr, "usb_os_find_devices: Found %s on %s at location 0x%08lx\n", dev->filename, bus->dirname, location); }