Index: runtime/bin/stdio.cc |
diff --git a/runtime/bin/stdio.cc b/runtime/bin/stdio.cc |
index c866710e93780954dc937eb9e4cf1e88f32aa9a7..b14fe9212b4de09ebd49507640d2c1ba5a30cad2 100644 |
--- a/runtime/bin/stdio.cc |
+++ b/runtime/bin/stdio.cc |
@@ -2,17 +2,17 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
+#include "bin/stdio.h" |
+ |
#include "bin/builtin.h" |
#include "bin/dartutils.h" |
#include "bin/utils.h" |
-#include "bin/stdio.h" |
#include "platform/globals.h" |
#include "platform/utils.h" |
#include "include/dart_api.h" |
- |
namespace dart { |
namespace bin { |
@@ -51,7 +51,7 @@ void FUNCTION_NAME(Stdout_GetTerminalSize)(Dart_NativeArguments args) { |
return; |
} |
intptr_t fd = DartUtils::GetIntptrValue(Dart_GetNativeArgument(args, 0)); |
- if (fd != 1 && fd != 2) { |
+ if ((fd != 1) && (fd != 2)) { |
Dart_SetReturnValue(args, Dart_NewApiError("Terminal fd must be 1 or 2")); |
return; |
} |