switch (rqt->rqt_data) {
case RQT_DL_INIT:
- thor_file_size = (size_t)rqt->int_data[0];
+ thor_file_size = (uint32_t)rqt->int_data[0];
#ifdef CONFIG_TIZEN
total_file_size = thor_file_size;
downloaded_file_size = 0;
#endif
- debug("INIT: total %zu bytes\n", (size_t)rqt->int_data[0]);
+ debug("INIT: total %zu bytes\n", thor_file_size);
break;
case RQT_DL_FILE_INFO:
file_type = rqt->int_data[0];
break;
}
- thor_file_size = (size_t)rqt->int_data[1];
+ thor_file_size = (uint32_t)rqt->int_data[1];
memcpy(f_name, rqt->str_data[0], F_NAME_BUF_SIZE);
debug("INFO: name(%s, %d), size(%zu), type(%d)\n",