Mercurial > hg > orthanc-stone
diff UnitTestsSources/GenericToolboxTests.cpp @ 1866:c26c18e876e3
fix compatibility with C++03 in unit tests
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 10 Dec 2021 11:37:36 +0100 |
parents | 63e893267c98 |
children | 3889ae96d2e9 |
line wrap: on
line diff
--- a/UnitTestsSources/GenericToolboxTests.cpp Wed Nov 24 12:25:32 2021 +0100 +++ b/UnitTestsSources/GenericToolboxTests.cpp Fri Dec 10 11:37:36 2021 +0100 @@ -31,7 +31,7 @@ #if __cplusplus >= 201103L // Is C++11? # include <cinttypes> // For PRId64 #else -# define PRId64 "%lld" +# define PRId64 "ld" #endif TEST(GenericToolbox, TestLegitDoubleString)