From eac79b106f7b928ef0ff06350f4486ae39008fc3 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Wed, 11 Aug 2010 06:03:47 +0000 Subject: Misc (re #1068): fixed various compilation warnings with Visual Studio 6 and 2005 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3262 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip-apps/src/pjsystest/main_wm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pjsip-apps/src/pjsystest/main_wm.c') diff --git a/pjsip-apps/src/pjsystest/main_wm.c b/pjsip-apps/src/pjsystest/main_wm.c index 374e84d6..b744e132 100644 --- a/pjsip-apps/src/pjsystest/main_wm.c +++ b/pjsip-apps/src/pjsystest/main_wm.c @@ -237,7 +237,7 @@ pj_status_t gui_init(gui_menu *menu) if (!RegisterClass(&wc) != 0) { DWORD err = GetLastError(); - return -1; + return PJ_RETURN_OS_ERROR(err); } /* Create the app. window */ -- cgit v1.2.3