diff --git a/CMakeLists.txt b/CMakeLists.txt index e868381..4389f5f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -71,7 +71,7 @@ add_executable(ezremote_client add_self(ezremote_client) -add_pkg(ezremote_client ${CMAKE_SOURCE_DIR}/data "RMTC00001" "ezRemote Client" "01.14" 32 0) +add_pkg(ezremote_client ${CMAKE_SOURCE_DIR}/data "RMTC00001" "ezRemote Client" "01.15" 32 0) target_link_libraries(ezremote_client c diff --git a/source/clients/rclone.cpp b/source/clients/rclone.cpp index d95ade3..2f45a6f 100644 --- a/source/clients/rclone.cpp +++ b/source/clients/rclone.cpp @@ -161,7 +161,7 @@ std::vector RCloneClient::ListDir(const std::string &path) lxb_dom_node_t *size_node = NextChildElement(td_element); value = lxb_dom_node_text_content(size_node->first_child, &value_len); tmp_string = std::string((const char *)value, value_len); - entry.file_size = atoi(tmp_string.c_str()); + entry.file_size = atol(tmp_string.c_str()); DirEntry::SetDisplaySize(&entry); }