9efe957859
even exist, although reported as existing by SDL). From Antti Harri <iku@openbsd.fi>. - Don't pass -1 to a function expecting an unsigned int (ugly quick-fix by adding a cast; I'll suggest upstream to fix this in a better way). - Fix an sizeof (char *) error. The latter two fix the build on arm.
13 lines
333 B
Plaintext
13 lines
333 B
Plaintext
$OpenBSD: patch-src_map_cpp,v 1.1 2011/04/02 17:39:33 kili Exp $
|
|
--- src/map.cpp.orig Sun Feb 13 18:22:21 2011
|
|
+++ src/map.cpp Sat Apr 2 16:41:32 2011
|
|
@@ -400,7 +400,7 @@ void showMap(int centerX, int centerY)
|
|
engine.flushInput();
|
|
engine.clearInput();
|
|
|
|
- doMusicInfo(-1);
|
|
+ doMusicInfo((unsigned int) -1);
|
|
|
|
while (true)
|
|
{
|