len = debug->debugSize[appid];
if ((len == 0) || (len > (JPEG_MAX_SEGMENT_SIZE - JPEG_SEGMENT_LENFIELD_SIZE))) {
- ALOGE("Invalid APP%d segment size, %zu bytes", appid, len);
+ ALOGE("Invalid APP%d segment size, %u bytes", appid, len);
return;
}
// | |
// SOI DHTofMain
- ALOGD("APP1: %zu bytes(ThumbMax %zu)", m_szApp1, m_szMaxThumbSize);
+ ALOGD("APP1: %hu bytes(ThumbMax %zu)", m_szApp1, m_szMaxThumbSize);
}
#define APPMARKLEN (JPEG_MARKER_SIZE + JPEG_SEGMENT_LENFIELD_SIZE)
bool CHWJpegV4L2Decompressor::PrepareCapture()
{
if (m_v4l2DstBuffer.length < m_v4l2Format.fmt.pix.sizeimage) {
- ALOGE("The size of the buffer %zu is smaller than required %u",
+ ALOGE("The size of the buffer %u is smaller than required %u",
m_v4l2DstBuffer.length, m_v4l2Format.fmt.pix.sizeimage);
return false;
}