summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@fingolfin.org>2020-05-20 09:37:32 -0700
committerRobert Mustacchi <rm@fingolfin.org>2020-05-22 14:08:20 -0700
commitcf3ec608f736765ec9852eed5e611848a25de9a4 (patch)
tree217276bd6a22ddb4f46efa2dbb49d99a86d12183 /usr/src/lib/libc
parent165c5c6fe7d6c7a95878c8a3aae7da65d1da1d90 (diff)
downloadillumos-joyent-cf3ec608f736765ec9852eed5e611848a25de9a4.tar.gz
12768 12392 regressed ftello64 behavior
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: John Levon <john.levon@joyent.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/lib/libc')
-rw-r--r--usr/src/lib/libc/port/stdio/ftell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/lib/libc/port/stdio/ftell.c b/usr/src/lib/libc/port/stdio/ftell.c
index dae2abea03..31aabec082 100644
--- a/usr/src/lib/libc/port/stdio/ftell.c
+++ b/usr/src/lib/libc/port/stdio/ftell.c
@@ -91,7 +91,7 @@ ftell_common(FILE *iop)
tres += adjust;
FUNLOCKFILE(lk);
- return ((long)tres);
+ return (tres);
}
long