From e47d25394530a32241fa2071f803d3ca26653ff4 Mon Sep 17 00:00:00 2001 From: fgenesis Date: Fri, 23 Sep 2022 18:21:36 +0200 Subject: [PATCH] fix derp in 4c52a147b06c7f --- BBGE/SimpleIStringStream.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/BBGE/SimpleIStringStream.h b/BBGE/SimpleIStringStream.h index 33996a2..77c9dc0 100644 --- a/BBGE/SimpleIStringStream.h +++ b/BBGE/SimpleIStringStream.h @@ -86,6 +86,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // #define SISS_VERIFY + +#ifdef SISS_VERIFY +# include +#endif + /*************************************************************************/ /*************************** Class definition ****************************/ /*************************************************************************/ @@ -422,7 +427,7 @@ inline SimpleIStringStream &SimpleIStringStream::operator=( inline SimpleIStringStream::operator void*() const { #ifdef SISS_VERIFY - if (!error != (void*)(std_is)) { + if (!error != bool(std_is)) { std::ostringstream os_offset; os_offset << (position - buffer); debugLog(std::string("SimpleIStringStream bool MISMATCH: us=") + (!error ? "true" : "false") + " STL="