From 9129d7900cb979cf7e411fa108aa2df42722dbd0 Mon Sep 17 00:00:00 2001 From: halx99 Date: Thu, 23 Dec 2021 16:15:30 +0800 Subject: [PATCH] Fix ci --- src/pugixml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pugixml.cpp b/src/pugixml.cpp index 2db585f..b73f30e 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -2369,7 +2369,7 @@ PUGI__NS_BEGIN if (header & header_mask) alloc->deallocate_string(dest); // mark the string as not allocated - dest = source_length == 0 ? nullptr : const_cast(source); + dest = source_length == 0 ? NULL : const_cast(source); header &= ~header_mask; return true;