musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/stdio/fsetpos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/fsetpos.c')
-rw-r--r--src/stdio/fsetpos.c 2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdio/fsetpos.c b/src/stdio/fsetpos.c
index 5d76c8cd..6310424e 100644
--- a/src/stdio/fsetpos.c
+++ b/src/stdio/fsetpos.c
@@ -2,7 +2,7 @@
int fsetpos(FILE *f, const fpos_t *pos)
{
- return __fseeko(f, *(const off_t *)pos, SEEK_SET);
+ return __fseeko(f, *(const long long *)pos, SEEK_SET);
}
LFS64(fsetpos);
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月11日 00:37:20 +0000

AltStyle によって変換されたページ (->オリジナル) /