total_file_size = thor_file_size;
downloaded_file_size = 0;
#endif
- debug("INIT: total %zu bytes\n", thor_file_size);
+ debug("INIT: total %llu bytes\n", thor_file_size);
break;
case RQT_DL_FILE_INFO:
file_type = rqt->int_data[0];
memcpy(f_name, rqt->str_data[0], F_NAME_BUF_SIZE);
f_name[F_NAME_BUF_SIZE] = '\0';
- debug("INFO: name(%s, %d), size(%zu), type(%d)\n",
+ debug("INFO: name(%s, %d), size(%llu), type(%d)\n",
f_name, 0, thor_file_size, file_type);
rsp->int_data[0] = THOR_PACKET_SIZE;