summaryrefslogtreecommitdiff
path: root/media-gfx/curaengine/files/curaengine-2.3.1-make-stringtest-64bit-safe.patch
blob: a9b447fe8528599ecdb2204c75f83782c3d027bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests/utils/StringTest.cpp b/tests/utils/StringTest.cpp
index aa369f3da..b1a084587 100644
--- a/tests/utils/StringTest.cpp
+++ b/tests/utils/StringTest.cpp
@@ -79,7 +79,7 @@ void StringTest::writeInt2mmAssert(int64_t in)
     int64_t out = MM2INT(strtod(str.c_str(), nullptr));
 
     char buffer[200];
-    sprintf(buffer, "The integer %ld was printed as '%s' which was interpreted as %ld rather than %ld!", in, str.c_str(), out, in);
+    sprintf(buffer, "The integer %d was printed as '%s' which was interpreted as %d rather than %d!", in, str.c_str(), out, in);
     CPPUNIT_ASSERT_MESSAGE(std::string(buffer), in == out);
 }