ports/textproc/tinyxml2/patches/patch-xmltest_cpp

15 lines
494 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: xmltest.cpp
--- xmltest.cpp.orig
+++ xmltest.cpp
@@ -807,8 +807,8 @@ int main( int argc, const char ** argv )
// ---------- Attributes ---------
{
- static const int64_t BIG = -123456789012345678;
- static const uint64_t BIG_POS = 123456789012345678;
+ static const int64_t BIG = -123456789012345678LL;
+ static const uint64_t BIG_POS = 123456789012345678LL;
XMLDocument doc;
XMLElement* element = doc.NewElement("element");
doc.InsertFirstChild(element);