Skip to content

Commit 24e042f

Browse files
committed
Temp fix: sign.c:67:5: error: implicit declaration of function '_chsize_s' [-Werror=implicit-function-declaration]
1 parent e298d6b commit 24e042f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/keytools/sign.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ static inline int fp_truncate(FILE *f, size_t len)
6464
if (f == NULL)
6565
return -1;
6666
fd = _fileno(f);
67-
return _chsize_s(fd, len);
67+
return _chsize(fd, len);
6868
}
6969
#else
7070
#define HAVE_MMAP 1

0 commit comments

Comments
 (0)