1 Description: Fix some compiler warnings
2 This fixes a FTBFS with GCC 6 where the warnings are now errors.
3 Bug-Debian: https://bugs.debian.org/812167
4 Origin: upstream, https://bitbucket.org/giszmo/glob2/commits/a9a16d8631db0176267b4f4aefd8e93767f8d247
5 Author: Leo Wandersleb <Leo.Wandersleb@gmx.de>
6 Last-Update: 2011-11-03
7 --- a/src/ChooseMapScreen.cpp
8 +++ b/src/ChooseMapScreen.cpp
13 -ChooseMapScreen::ChooseMapScreen(const char *directory, const char *extension, bool recurse, const char* alternateDirectory, const char* alternateExtension, const char* alternateRecurse)
14 +ChooseMapScreen::ChooseMapScreen(const char *directory, const char *extension, bool recurse, const char* alternateDirectory, const char* alternateExtension, const bool alternateRecurse)
16 ok = new TextButton(440, 360, 180, 40, ALIGN_SCREEN_CENTERED, ALIGN_SCREEN_CENTERED, "menu", Toolkit::getStringTable()->getString("[ok]"), OK, 13);
18 --- a/src/ChooseMapScreen.h
19 +++ b/src/ChooseMapScreen.h
21 /// Constructor. Directory is the source of the listed files.
22 /// extension is the file extension to show. If recurse is true,
23 /// subdirectoried are shown and can be opened.
24 - ChooseMapScreen(const char *directory, const char *extension, bool recurse, const char* alternateDirectory=NULL, const char* alternateExtension=NULL, const char* alternateRecurse=NULL);
25 + ChooseMapScreen(const char *directory, const char *extension, bool recurse, const char* alternateDirectory=NULL, const char* alternateExtension=NULL, const bool alternateRecurse=NULL);
27 virtual ~ChooseMapScreen();
28 virtual void onAction(Widget *source, Action action, int par1, int par2);