Temp fix: `sign.c:67:5: error: implicit declaration of function '_chsize_s' [-Werror=implicit-function-declaration]`

pull/569/head
David Garske 2025-04-10 12:57:55 -07:00 committed by Daniele Lacamera
parent 6f3722d31a
commit 8fff9cf3d7
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ static inline int fp_truncate(FILE *f, size_t len)
if (f == NULL)
return -1;
fd = _fileno(f);
return _chsize_s(fd, len);
return _chsize(fd, len);
}
#else
#define HAVE_MMAP 1