From 04554e77297b87d65f99fc2258889630c93f958b Mon Sep 17 00:00:00 2001 From: warwick Date: Wed, 26 Feb 2003 07:25:54 +0000 Subject: [PATCH] Work on more UNIX systems. --- win/Qt/qt_win.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/win/Qt/qt_win.cpp b/win/Qt/qt_win.cpp index 84a5eca00..eae31be1b 100644 --- a/win/Qt/qt_win.cpp +++ b/win/Qt/qt_win.cpp @@ -69,6 +69,7 @@ extern "C" { #undef max #undef alloc #undef lock +#undef yn } @@ -2535,7 +2536,7 @@ void NetHackQtStatusWindow::updateStats() name.setLabel(buf,NetHackQtLabelledIcon::NoNum,u.ulevel); if (describe_level(buf)) { - dlevel.setLabel(buf,TRUE); + dlevel.setLabel(buf,(bool)TRUE); } else { Sprintf(buf, "%s, level ", dungeons[u.uz.dnum].dname); dlevel.setLabel(buf,(long)depth(&u.uz)); -- 2.50.1