Commit e9f066acae

Andrew Kelley <andrew@ziglang.org>
2019-03-22 21:57:41
fix macos build instructions in readme and fix warning
1 parent b76398c
Changed files (2)
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;
README.md
@@ -177,7 +177,7 @@ brew install cmake llvm@8
 brew outdated llvm@8 || brew upgrade llvm@8
 mkdir build
 cd build
-cmake .. -DCMAKE_PREFIX_PATH=/usr/local/opt/llvm@8/
+cmake .. -DCMAKE_PREFIX_PATH=/usr/local/Cellar/llvm/8.0.0
 make install
 bin/zig build --build-file ../build.zig test
 ```