aboutsummaryrefslogtreecommitdiff
path: root/include/Storage.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-03-11 07:07:04 +0100
committerdec05eba <dec05eba@protonmail.com>2022-03-11 07:09:29 +0100
commit80696a506afcee0cca48c22448adacb4aea6eece (patch)
treee1b642940ced3bb01460ef06308d4f86c887b88d /include/Storage.hpp
parent8c142359fd27d73fc6c77dc5d1bd4df831f7c0c1 (diff)
youtube: use mpv stream_cb instead of proxy server
Diffstat (limited to 'include/Storage.hpp')
-rw-r--r--include/Storage.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Storage.hpp b/include/Storage.hpp
index c187261..19dd345 100644
--- a/include/Storage.hpp
+++ b/include/Storage.hpp
@@ -30,7 +30,7 @@ namespace QuickMedia {
int create_directory_recursive(const Path &path);
FileType get_file_type(const Path &path);
int file_get_content(const Path &path, std::string &result);
- int file_get_size(const Path &path, size_t *size);
+ int file_get_size(const Path &path, int64_t *size);
bool file_get_last_modified_time_seconds(const char *path, time_t *result);
int file_overwrite(const Path &path, const std::string &data);
int file_overwrite_atomic(const Path &path, const std::string &data);
@@ -46,5 +46,5 @@ namespace QuickMedia {
bool is_program_executable_by_name(const char *name);
- std::string file_size_to_human_readable_string(size_t bytes);
+ std::string file_size_to_human_readable_string(int64_t bytes);
} \ No newline at end of file