diff options
Diffstat (limited to 'games/knights-kde4/files/patch-core.cpp')
-rw-r--r-- | games/knights-kde4/files/patch-core.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/games/knights-kde4/files/patch-core.cpp b/games/knights-kde4/files/patch-core.cpp new file mode 100644 index 000000000000..0fe783deb901 --- /dev/null +++ b/games/knights-kde4/files/patch-core.cpp @@ -0,0 +1,26 @@ +--- knights/core.cpp.orig Sat Aug 21 10:14:24 2004 ++++ knights/core.cpp Sat Aug 21 10:28:14 2004 +@@ -90,7 +90,7 @@ + else + { + /* Use an existing internetIO */ +- (io_base*)internetioPtr = myIOMap.find(Null); ++ internetioPtr = (io_internet*)myIOMap.find(Null); + if( internetioPtr == NULL ) + { + kdWarning() << "core::createNewIO: Trying to connect a match to an internetIO that doesn't exsist." << endl; +@@ -114,12 +114,12 @@ + } + else + { +- (io_base*)internetioPtr = myIOMap.find(ID); ++ internetioPtr = (io_internet*)myIOMap.find(ID); + if( internetioPtr == NULL ) + { + /* no io mapped to the ID yet, use the internetio */ + /* Use an existing internetIO */ +- (io_base*)internetioPtr = myIOMap.find(Null); ++ internetioPtr = (io_internet*)myIOMap.find(Null); + if( internetioPtr == NULL ) + { + kdWarning() << "core::createNewIO: Trying to connect a match to an internetIO that doesn't exsist." << endl; |