[Version] 0.3.7
[Profile] Common
[Issue Type] Bug
[Dependency module] NA
[Dependency commit] NA
[Comment]
'size_t' uses 8 bytes in 64-bit platform.
Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: I730c2755c55da4e143331e6f01a8fee62fa42ddc
Name: capi-media-audio-io
Summary: An Audio Input & Audio Output library in Tizen Native API
-Version: 0.3.6
+Version: 0.3.7
Release: 0
Group: Multimedia/API
License: Apache-2.0
}
if (buffer == NULL) {
- THROW_ERROR_MSG_FORMAT(CAudioError::ERROR_INVALID_ARGUMENT, "Parameters are invalid - buffer:%p, length:%d", buffer, length);
+ THROW_ERROR_MSG_FORMAT(CAudioError::ERROR_INVALID_ARGUMENT, "Parameters are invalid - buffer:%p, length:%zu", buffer, length);
}
/* Checks synchronous flag */
}
if (buffer == NULL) {
- THROW_ERROR_MSG_FORMAT(CAudioError::ERROR_INVALID_ARGUMENT, "Parameters are invalid - buffer:%p, length:%d", buffer, length);
+ THROW_ERROR_MSG_FORMAT(CAudioError::ERROR_INVALID_ARGUMENT, "Parameters are invalid - buffer:%p, length:%zu", buffer, length);
}
/*
CAudioInput* inputHandle = dynamic_cast<CAudioInput*>(handle->audioIoHandle);
assert(inputHandle);
- inputHandle->peek(buffer, static_cast<size_t*>(length));
+ inputHandle->peek(buffer, (size_t*)length);
} catch (CAudioError e) {
AUDIO_IO_LOGE("%s", e.getErrorMsg());
return _convert_CAudioError(e);