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