C++ fixes for gcc3
This commit is contained in:
parent
1c0cd028f0
commit
d88595dddd
12
games/toppler/patches/patch-level_cc
Normal file
12
games/toppler/patches/patch-level_cc
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-level_cc,v 1.1 2002/10/09 12:21:43 naddy Exp $
|
||||
--- level.cc.orig Wed Oct 9 13:34:28 2002
|
||||
+++ level.cc Wed Oct 9 13:41:42 2002
|
||||
@@ -75,7 +75,7 @@ typedef struct mission_node {
|
||||
|
||||
mission_node * missions;
|
||||
|
||||
-static int missionfiles (const struct dirent *file)
|
||||
+static int missionfiles (struct dirent *file)
|
||||
{
|
||||
int len = strlen(file->d_name);
|
||||
|
12
games/toppler/patches/patch-screen_cc
Normal file
12
games/toppler/patches/patch-screen_cc
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-screen_cc,v 1.1 2002/10/09 12:21:43 naddy Exp $
|
||||
--- screen.cc.orig Wed Oct 9 13:43:55 2002
|
||||
+++ screen.cc Wed Oct 9 13:44:10 2002
|
||||
@@ -540,7 +540,7 @@ void scr_writetext(long x, long y, const
|
||||
}
|
||||
}
|
||||
|
||||
-void scr_putbar(int x, int y, int br, int h, unsigned char col = 0) {
|
||||
+void scr_putbar(int x, int y, int br, int h, unsigned char col) {
|
||||
SDL_Rect r;
|
||||
r.w = br;
|
||||
r.h = h;
|
Loading…
Reference in New Issue
Block a user