From 50b3e74489a1a46fec88df793e4f6780e4de933c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Sun, 16 May 2010 21:03:17 +0000 Subject: [PATCH] Fix gcc4 warnings. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36833 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- 3rdparty/mmu_man/themes/ThemeInterfaceView.cpp | 4 ++-- 3rdparty/mmu_man/themes/addons/WinampSkinAddon.cpp | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/3rdparty/mmu_man/themes/ThemeInterfaceView.cpp b/3rdparty/mmu_man/themes/ThemeInterfaceView.cpp index 83e68cb37e..5fc58e15a3 100644 --- a/3rdparty/mmu_man/themes/ThemeInterfaceView.cpp +++ b/3rdparty/mmu_man/themes/ThemeInterfaceView.cpp @@ -66,7 +66,7 @@ const uint32 kHideSSPulse = 'TmH1'; const uint32 kShowSSPulse = 'TmH2'; static const uint32 skOnlineThemes = 'TmOL'; -static char* skThemeURL = "http://www.zeta-os.com/cms/download.php?list.4"; +static const char* skThemeURL = "http://www.zeta-os.com/cms/download.php?list.4"; #define HIDESS_OFFSET (Bounds().Width()/2 - 130) @@ -436,7 +436,7 @@ ThemeInterfaceView::MessageReceived(BMessage *_msg) break; case skOnlineThemes: - be_roster->Launch( "application/x-vnd.Mozilla-Firefox", 1, &skThemeURL); + be_roster->Launch( "application/x-vnd.Mozilla-Firefox", 1, (char **)&skThemeURL); break; default: diff --git a/3rdparty/mmu_man/themes/addons/WinampSkinAddon.cpp b/3rdparty/mmu_man/themes/addons/WinampSkinAddon.cpp index 88e56e489a..c0891f345b 100644 --- a/3rdparty/mmu_man/themes/addons/WinampSkinAddon.cpp +++ b/3rdparty/mmu_man/themes/addons/WinampSkinAddon.cpp @@ -147,11 +147,12 @@ WinampSkinThemesAddon::MakeTheme(BMessage &theme, uint32 flags) else err = SPSkin(&name); /* try the other way round */ - if (err) + if (err) { if (WhichApp() == USE_CL) err = CLSkin(&name, true); else err = SPSkin(&name, true); + } if (!err) skin.AddString("winamp:skin", name); err = SetMyMessage(theme, skin);