aboutsummaryrefslogtreecommitdiff
path: root/src/parse_f128.c
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-03-22 16:57:41 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-03-22 16:57:41 -0400
commite9f066acae7a6a959a664396790a4bca5184e301 (patch)
tree129ed0421835ee1921baba8c2f1791ccef5e9213 /src/parse_f128.c
parentb76398c9939372ebd2e7263e2aec76503f48b146 (diff)
downloadzig-e9f066acae7a6a959a664396790a4bca5184e301.tar.gz
zig-e9f066acae7a6a959a664396790a4bca5184e301.zip
fix macos build instructions in readme and fix warning
Diffstat (limited to 'src/parse_f128.c')
-rw-r--r--src/parse_f128.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse_f128.c b/src/parse_f128.c
index bba45e0026..acaf0a5ce0 100644
--- a/src/parse_f128.c
+++ b/src/parse_f128.c
@@ -143,7 +143,7 @@ static int __shgetc(struct MuslFILE *f)
{
int c;
off_t cnt = shcnt(f);
- if (f->shlim && cnt >= f->shlim || (c=__uflow(f)) < 0) {
+ if ((f->shlim && cnt >= f->shlim) || (c=__uflow(f)) < 0) {
f->shcnt = f->buf - f->rpos + cnt;
f->shend = f->rpos;
f->shlim = -1;