File xmp-snprintf.diff of Package libXMP4_4

Index: XMP-Toolkit-SDK-4.4.2/source/common/XML_Node.cpp
===================================================================
--- XMP-Toolkit-SDK-4.4.2.orig/source/common/XML_Node.cpp
+++ XMP-Toolkit-SDK-4.4.2/source/common/XML_Node.cpp
@@ -10,8 +10,9 @@
 #include "XMLParserAdapter.hpp"
 
 #include <map>
 #include <cstring>
+#include <cstdio>
 
 // ! Can't include XMP..._Impl.hpp - used by both Core and Files.
 #define XMP_LitNMatch(s,l,n)	(std::strncmp((s),(l),(n)) == 0)
 
@@ -212,9 +213,9 @@ static void DumpNodeList ( std::string *
 		}
 		if ( node->nsPrefixLen != 0 ) {
 			*buffer += ", prefixLen=";
 			char numBuf [20];
-			snprintf ( numBuf, sizeof(numBuf), "%d", node->nsPrefixLen );
+			std::snprintf ( numBuf, sizeof(numBuf), "%d", node->nsPrefixLen );
 			*buffer += numBuf;
 		}
 		*buffer += "\n";