diff options
Diffstat (limited to 'core/serial_usb_android.cpp')
-rw-r--r-- | core/serial_usb_android.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/serial_usb_android.cpp b/core/serial_usb_android.cpp index d53453a47..5686d06d8 100644 --- a/core/serial_usb_android.cpp +++ b/core/serial_usb_android.cpp @@ -123,7 +123,7 @@ static dc_status_t serial_usb_android_get_available (void *io, size_t *value) static dc_status_t serial_usb_android_read(void *io, void *data, size_t size, size_t *actual) { - TRACE (device->context, "%s: size: %i", __FUNCTION__, size); + TRACE (device->context, "%s: size: %zu", __FUNCTION__, size); QAndroidJniObject *device = static_cast<QAndroidJniObject *>(io); if (device == NULL) @@ -152,7 +152,7 @@ static dc_status_t serial_usb_android_read(void *io, void *data, size_t size, si static dc_status_t serial_usb_android_write(void *io, const void *data, size_t size, size_t *actual) { - TRACE (device->context, "%s: size: %i", __FUNCTION__, size); + TRACE (device->context, "%s: size: %zu", __FUNCTION__, size); QAndroidJniObject *device = static_cast<QAndroidJniObject *>(io); if (device == NULL) |