1 From 15f3774513d0181ad90da382297c175cc3424462 Mon Sep 17 00:00:00 2001
2 From: David Tardon <dtardon@redhat.com>
3 Date: Sun, 22 Oct 2017 21:24:43 +0200
4 Subject: [PATCH] fix debug build
6 Change-Id: I860b6034e5d833900652aec8c3647eeae185e538
8 src/lib/VDXParser.cpp | 2 +-
9 src/lib/VSDXParser.cpp | 2 +-
10 2 files changed, 2 insertions(+), 2 deletions(-)
12 diff --git a/src/lib/VDXParser.cpp b/src/lib/VDXParser.cpp
13 index f2f3154..0f07efd 100644
14 --- a/src/lib/VDXParser.cpp
15 +++ b/src/lib/VDXParser.cpp
16 @@ -916,7 +916,7 @@ xmlChar *libvisio::VDXParser::readStringData(xmlTextReaderPtr reader)
17 ret = xmlTextReaderRead(reader);
18 if (1 == ret && stringValue)
20 - VSD_DEBUG_MSG(("VDXParser::readStringData stringValue %s\n", (const char *)stringValue));
21 + VSD_DEBUG_MSG(("VDXParser::readStringData stringValue %s\n", (const char *)stringValue.get()));
22 return stringValue.release();
25 diff --git a/src/lib/VSDXParser.cpp b/src/lib/VSDXParser.cpp
26 index 488be3a..efd46b9 100644
27 --- a/src/lib/VSDXParser.cpp
28 +++ b/src/lib/VSDXParser.cpp
29 @@ -555,7 +555,7 @@ xmlChar *libvisio::VSDXParser::readStringData(xmlTextReaderPtr reader)
30 std::unique_ptr<xmlChar, void (*)(void *)> stringValue(xmlTextReaderGetAttribute(reader, BAD_CAST("V")), xmlFree);
33 - VSD_DEBUG_MSG(("VSDXParser::readStringData stringValue %s\n", (const char *)stringValue));
34 + VSD_DEBUG_MSG(("VSDXParser::readStringData stringValue %s\n", (const char *)stringValue.get()));
35 return stringValue.release();