diff options
Diffstat (limited to 'external/libetonyek/assert.patch')
-rw-r--r-- | external/libetonyek/assert.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/external/libetonyek/assert.patch b/external/libetonyek/assert.patch new file mode 100644 index 000000000000..fe5e2823f2a9 --- /dev/null +++ b/external/libetonyek/assert.patch @@ -0,0 +1,20 @@ +--- src/lib/EtonyekDocument.cpp ++++ src/lib/EtonyekDocument.cpp +@@ -7,6 +7,8 @@ + + #include <libetonyek/libetonyek.h> + ++#include <cassert> ++ + #include <boost/scoped_ptr.hpp> + #include <boost/shared_ptr.hpp> + #include <boost/logic/tribool.hpp> +@@ -179,7 +181,7 @@ + info.input->seek(0, RVNG_SEEK_SET); + } + +- assert(!isGzipped); ++ assert(bool(!isGzipped)); + + return probeXMLImpl(info.input, probe, type, info); + } |