You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@quickstep.apache.org by ha...@apache.org on 2016/06/29 19:13:01 UTC
incubator-quickstep git commit: QUICKSTEP-33: Fixed the bug in
NumericCast. [Forced Update!]
Repository: incubator-quickstep
Updated Branches:
refs/heads/quickstep-33 cf7a53d55 -> d82365731 (forced update)
QUICKSTEP-33: Fixed the bug in NumericCast.
Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/d8236573
Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/d8236573
Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/d8236573
Branch: refs/heads/quickstep-33
Commit: d823657312cb9a897a0a8dd6dec324924462e007
Parents: 5c4e8db
Author: Hakan Memisoglu <ha...@gmail.com>
Authored: Wed Jun 29 14:01:13 2016 -0500
Committer: Hakan Memisoglu <ha...@gmail.com>
Committed: Wed Jun 29 14:12:34 2016 -0500
----------------------------------------------------------------------
types/operations/unary_operations/NumericCastOperation.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/d8236573/types/operations/unary_operations/NumericCastOperation.hpp
----------------------------------------------------------------------
diff --git a/types/operations/unary_operations/NumericCastOperation.hpp b/types/operations/unary_operations/NumericCastOperation.hpp
index 250df6d..6662796 100644
--- a/types/operations/unary_operations/NumericCastOperation.hpp
+++ b/types/operations/unary_operations/NumericCastOperation.hpp
@@ -126,7 +126,7 @@ class UncheckedNumericCastOperator : public UncheckedUnaryOperator {
result->appendNullValue();
} else {
*static_cast<typename TargetType::cpptype*>(result->getPtrForDirectWrite())
- = static_cast<typename SourceType::cpptype>(*scalar_arg);
+ = static_cast<typename TargetType::cpptype>(*scalar_arg);
}
}
return result;