Skip to content

Commit

Permalink
Suppress warning on GCC 4.2 when building 32 bit mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlipe committed Jun 29, 2011
1 parent d272737 commit 3dea01d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gpsbabel/mac/libusb/darwin.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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);
}

Expand Down

0 comments on commit 3dea01d

Please sign in to comment.