diff options
author | Victor Lowther <victor.lowther@gmail.com> | 2010-06-13 21:07:31 -0500 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2010-06-14 08:56:27 +0100 |
commit | da3a51d2e8be3c42f63b5f8e6a795b11e7ccbc1e (patch) | |
tree | 1f8a9fa1f22681c2eeb7d3bb410f636a77eab1d7 /src | |
parent | 6ba86292e9e86601365c23a8f7f89f05a43ccd33 (diff) |
Cast cnt to int to stop gcc from complaining.
GCC was complaining about int and ssize_t being differnt types.
Make it quit doing that.
Diffstat (limited to 'src')
-rw-r--r-- | src/linux/up-device-csr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/up-device-csr.c b/src/linux/up-device-csr.c index c1c88b2..6c06690 100644 --- a/src/linux/up-device-csr.c +++ b/src/linux/up-device-csr.c @@ -104,7 +104,7 @@ up_device_csr_find_device (UpDeviceCsr *csr) /* need to depend on > libusb1-1.0.9 for libusb_strerror() egg_warning ("failed to get device list: %s", libusb_strerror (cnt)); */ - egg_warning ("failed to get device list: %i", cnt); + egg_warning ("failed to get device list: %d", (int)cnt); goto out; } if (devices == NULL) { |