mirror of
https://github.com/Waujito/youtubeUnblock.git
synced 2025-12-06 03:26:45 +03:00
fix: изменение типа переменной на подходящий
По стандарту ftell возвращает long.
This commit is contained in:
@@ -67,7 +67,7 @@ static int read_file(const char* filename) {
|
||||
goto close_file;
|
||||
}
|
||||
|
||||
size_t fsize = ftell(fd);
|
||||
long fsize = ftell(fd);
|
||||
fseek(fd, 0, SEEK_SET);
|
||||
if (ret < 0) {
|
||||
ret = -errno;
|
||||
|
||||
Reference in New Issue
Block a user