diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-02-23 12:37:56 -0500 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-02-25 00:45:21 -0500 |
commit | 134d2cb2b679ed64aee8d5d841de41577928c6d2 (patch) | |
tree | 04186072f77d49fa77f9904d5c8673d46c1ac145 /test/test.cpp | |
parent | efb7885e0bb97a0e2f65457ff4f931cc5a3a1fc8 (diff) | |
download | phosphor-inventory-manager-134d2cb2b679ed64aee8d5d841de41577928c6d2.tar.gz phosphor-inventory-manager-134d2cb2b679ed64aee8d5d841de41577928c6d2.zip |
pimgen: Use cast instead of integer literals
This ends up being more portable.
Change-Id: I9e4e0414329878316a110a5234aeea4677b877e8
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'test/test.cpp')
-rw-r--r-- | test/test.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test.cpp b/test/test.cpp index d36aa24..407a0cc 100644 --- a/test/test.cpp +++ b/test/test.cpp @@ -207,7 +207,9 @@ void runTests() }, { "xyz.openbmc_project.Example.Iface2", - {{"ExampleProperty2", "test2"s}, {"ExampleProperty3", 0ll}} + { {"ExampleProperty2", "test2"s}, + {"ExampleProperty3", static_cast<int64_t>(0ll)} + } }, }; |