Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/node_file.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_file.cc b/src/node_file.cc
index 589ecdf7c95..54923b148c2 100644
--- a/src/node_file.cc
+++ b/src/node_file.cc
@@ -75,7 +75,7 @@ static Persistent<String> oncomplete_sym;
#define GET_OFFSET(a) ((a)->IsNumber() ? (a)->IntegerValue() : -1)
#define GET_TRUNCATE_LENGTH(a) ((a)->IntegerValue())
-static inline int IsInt64(double x) {
+static inline bool IsInt64(double x) {
return x == static_cast<double>(static_cast<int64_t>(x));
}