changeset 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 4d83d27a955e
children 4fa025398a38
files UnitTestsSources/GenericToolboxTests.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)