From e3ff299929ed59618692aa610212056cebf742ca Mon Sep 17 00:00:00 2001 From: Junghoon Park Date: Mon, 19 Mar 2018 14:23:42 +0900 Subject: [PATCH] Fix a bug about wrong type - long type was used instead of long long Change-Id: I445e90ffc48e9f9e8e98abfba681ef0221eaebf7 Signed-off-by: Junghoon Park --- idlc/cpp_gen/cpp_gen_base.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idlc/cpp_gen/cpp_gen_base.cc b/idlc/cpp_gen/cpp_gen_base.cc index 5af8eb8..8000967 100644 --- a/idlc/cpp_gen/cpp_gen_base.cc +++ b/idlc/cpp_gen/cpp_gen_base.cc @@ -30,7 +30,7 @@ CppGeneratorBase::CppGeneratorBase(std::shared_ptr doc) : Generator(doc) { type_map_ = { {"char", "char"}, {"int", "int"}, {"short", "short"}, - {"long", "long"}, {"string", "std::string"}, {"bool", "bool"}, + {"long", "long long"}, {"string", "std::string"}, {"bool", "bool"}, {"list", "std::list"}, {"float","float"}, {"double", "double"}, {"bundle", "Bundle"}, {"void", "void"}, {"array", "std::vector"} }; -- 2.7.4