EXPORT_API int data_control_map_get_with_page(data_control_h provider,
const char *key, int *request_id, int page_number, int count_per_page)
{
- unsigned int arg_size;
+ size_t arg_size;
int ret = 0;
const char *arg_list[4];
char page_no_str[32];
arg_size = (strlen(provider->data_id) + strlen(key)) * sizeof(wchar_t);
if (arg_size > MAX_REQUEST_ARGUMENT_SIZE) {
- _LOGE("The size of sending argument (%u) exceeds the maximum limit.",
+ _LOGE("The size of sending argument (%zu) exceeds the maximum limit.",
arg_size);
return DATA_CONTROL_ERROR_MAX_EXCEEDED;
}
const char *old_value, const char *new_value, int *request_id)
{
int retval;
- unsigned int arg_size;
+ size_t arg_size;
bundle *b;
const char *arg_list[4];
char handle_id[MAX_LEN_DATACONTROL_HANDLE_ID] = {0, };
arg_size = (strlen(provider->data_id) + strlen(key) +
strlen(old_value) + strlen(new_value)) * sizeof(wchar_t);
if (arg_size > MAX_REQUEST_ARGUMENT_SIZE) {
- _LOGE("The size of sending argument (%u) exceeds the maximum limit.",
+ _LOGE("The size of sending argument (%zu) exceeds the maximum limit.",
arg_size);
return DATA_CONTROL_ERROR_MAX_EXCEEDED;
}
const char *key, const char *value, int *request_id)
{
int retval;
- unsigned int arg_size;
+ size_t arg_size;
bundle *b;
const char *arg_list[3];
char handle_id[MAX_LEN_DATACONTROL_HANDLE_ID] = {0, };
arg_size = (strlen(provider->data_id) + strlen(key) +
strlen(value)) * sizeof(wchar_t);
if (arg_size > MAX_REQUEST_ARGUMENT_SIZE) {
- _LOGE("The size of sending argument (%u) exceeds the maximum limit.",
+ _LOGE("The size of sending argument (%zu) exceeds the maximum limit.",
arg_size);
return DATA_CONTROL_ERROR_MAX_EXCEEDED;
}
const char *key, const char *value, int *request_id)
{
int retval;
- unsigned int arg_size;
+ size_t arg_size;
bundle *b;
const char *arg_list[3];
char handle_id[MAX_LEN_DATACONTROL_HANDLE_ID] = {0, };
arg_size = (strlen(provider->data_id) + strlen(key) +
strlen(value)) * sizeof(wchar_t);
if (arg_size > MAX_REQUEST_ARGUMENT_SIZE) {
- _LOGE("The size of sending argument (%u) exceeds the maximum limit.",
+ _LOGE("The size of sending argument (%zu) exceeds the maximum limit.",
arg_size);
return DATA_CONTROL_ERROR_MAX_EXCEEDED;
}