From 835fab506e7d82bfd65134dd1e61f6c3d58e6fd7 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 4 Oct 2004 08:26:55 +0000 Subject: [PATCH] blind warning fix in wxUmaskChanger git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/filefn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/filefn.h b/include/wx/filefn.h index 1b102609ef..813357debe 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -560,7 +560,7 @@ public: // wxFileConfig::Flush() for example wxUmaskChanger(int umaskNew) { - m_umaskOld = umaskNew == -1 ? -1 : umask((mode_t)umaskNew); + m_umaskOld = umaskNew == -1 ? -1 : (int)umask((mode_t)umaskNew); } ~wxUmaskChanger() -- 2.45.2