From 04fc9c6993a7fb49ce533bccaff595621f1a6e9f Mon Sep 17 00:00:00 2001 From: Sean Cannella Date: Wed, 26 Jun 2013 14:52:18 -0700 Subject: [PATCH] fix type declaration build warning on other platforms - fix type declaration mismatch (long vs. int64_t) on other platforms --- hphp/runtime/ext/filter/logical_filters.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hphp/runtime/ext/filter/logical_filters.cpp b/hphp/runtime/ext/filter/logical_filters.cpp index 8ca58d9a2..aaa757fc4 100644 --- a/hphp/runtime/ext/filter/logical_filters.cpp +++ b/hphp/runtime/ext/filter/logical_filters.cpp @@ -340,7 +340,7 @@ Variant php_filter_float(PHP_INPUT_FILTER_PARAM_DECL) { goto error; } - long lval; + int64_t lval; double dval; switch (is_numeric_string(p.data(), p.length(), &lval, &dval, 0)) { case KindOfInt64: