Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: fusl/src/internal/shgetc.c

Issue 1575153003: Remove -Wno-logical-op-parentheses for fusl build (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: fusl/src/internal/shgetc.c
diff --git a/fusl/src/internal/shgetc.c b/fusl/src/internal/shgetc.c
index e878b00ad50ac709b33366f11619817c1e535636..87e96ea585f451f6c4d36dc3c2057a507eb7cbca 100644
--- a/fusl/src/internal/shgetc.c
+++ b/fusl/src/internal/shgetc.c
@@ -13,7 +13,7 @@ void __shlim(FILE *f, off_t lim)
int __shgetc(FILE *f)
{
int c;
- if (f->shlim && f->shcnt >= f->shlim || (c=__uflow(f)) < 0) {
+ if ((f->shlim && f->shcnt >= f->shlim) || (c=__uflow(f)) < 0) {
f->shend = 0;
return EOF;
}
« no previous file with comments | « fusl/BUILD.gn ('k') | fusl/src/locale/iconv.c » ('j') | fusl/src/locale/locale_map.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698