1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

Fix build with gcc 3.4

This commit is contained in:
Markus Brueffer 2004-08-21 08:11:29 +00:00
parent 2079aaa72f
commit cf7afdc3e5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116882
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- src/kfgame.cpp.orig Sat Aug 21 10:04:02 2004
+++ src/kfgame.cpp Sat Aug 21 10:04:39 2004
@@ -57,7 +57,7 @@
}
QPtrList<KFLevel>& KFGame::levelList() {
return m_gameHistory;
-};
+}
void KFGame::startLevel( int level, int moves ) {
m_reachedLevel = -1;

View File

@ -0,0 +1,19 @@
--- src/kflevel.cpp.orig Sat Aug 21 10:05:41 2004
+++ src/kflevel.cpp Sat Aug 21 10:05:58 2004
@@ -79,13 +79,13 @@
int KFLevel::getPoints() const {
return m_points;
-};
+}
int KFLevel::getBonus() const {
return m_bonus;
-};
+}
int KFLevel::getScore() const {
return m_points + m_bonus;
-};
+}
int KFLevel::getMaxPoints() const{
switch ( m_skill ) {
case KFGame::CHILD: