Skip to content

Commit

Permalink
Fixed compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Grumbel committed Aug 3, 2014
1 parent 869d7cf commit 569be86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/lisp/parser.cpp
Expand Up @@ -36,8 +36,8 @@ Parser::Parser(bool translate) :
dictionary_manager(0),
dictionary(0),
token(),
obst(),
searchpath()
searchpath(),
obst()
{
if(translate) {
dictionary_manager = new tinygettext::DictionaryManager();
Expand Down
2 changes: 1 addition & 1 deletion src/supertux/main.cpp
Expand Up @@ -582,7 +582,7 @@ Main::run(int argc, char** argv)
// So we simply mount that path here...
std::string dir = FileSystem::dirname(g_config->start_level);
std::string fileProtocol = "file://";
int position = dir.find(fileProtocol);
std::string::size_type position = dir.find(fileProtocol);
if(position != std::string::npos) {
dir = dir.replace(position, fileProtocol.length(), "");
}
Expand Down

0 comments on commit 569be86

Please sign in to comment.