Fix gcc4 warnings.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36833 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol 2010-05-16 21:03:17 +00:00
parent 4f2d368906
commit 50b3e74489
2 changed files with 4 additions and 3 deletions

View File

@ -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:

View File

@ -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);