Gcc4 fixes

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32088 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2009-08-03 16:53:04 +00:00
parent 3bd4966700
commit 36325c7fe5
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -2,6 +2,6 @@ SubDir HAIKU_TOP src tests kits game ParticlesII ;
SimpleTest ParticlesII SimpleTest ParticlesII
: particlesII.cpp : particlesII.cpp
: game be root : game be root $(TARGET_LIBSUPC++)
; ;
@@ -74,9 +74,11 @@ private:
// app from ScreenConnected() // app from ScreenConnected()
}; };
int
main() main()
{ {
NApplication app; NApplication app;
return 0;
} }
NApplication::NApplication() NApplication::NApplication()
@@ -215,7 +217,7 @@ void NWindowScreen::ScreenConnected(bool connected)
} }
if((i>=192) && (i<256)) if((i>=192) && (i<256))
{ {
c1.red = 0i; // blues c1.red = 0; // blues
c1.green = 0; c1.green = 0;
c1.blue = j*4; c1.blue = j*4;
c1.alpha = 255; c1.alpha = 255;