int datacontrol_map_add_bulk_data(datacontrol_h provider, data_control_bulk_data_h bulk_data_h, int *request_id)
{
- long long arg_size = 0;
+ unsigned int arg_size = 0;
bundle *b;
bundle *data;
const char *arg_list[3];
}
if (row_count < 0 || row_count > MAX_ROW_COUNT) {
- LOGE("invalid row_count %d", row_count);
+ LOGE("invalid row_count %lld", row_count);
retval = DATACONTROL_ERROR_IO_ERROR;
goto out;
}
cursor->row_offset_list[0] = lseek(result_fd, 0, SEEK_CUR);
cursor->resultset_content_offset = cursor->row_offset_list[0];
- LOGE("resultset_content_offset : %d", cursor->resultset_content_offset);
+ LOGE("resultset_content_offset : %lld",
+ (unsigned long long)cursor->resultset_content_offset);
off_t row_offset = 0;
for (i = 0; i < row_count; i++) {