1 diff -up alienblaster/src/options.cc~ alienblaster/src/options.cc
2 --- alienblaster/src/options.cc~ 2007-07-22 21:13:29.000000000 +0200
3 +++ alienblaster/src/options.cc 2007-07-22 21:13:29.000000000 +0200
4 @@ -48,7 +48,7 @@ Options::Options(const string lFilename)
6 getline( inputFile, newLine );
8 - unsigned int pos = newLine.find("=");
9 + string::size_type pos = newLine.find("=");
10 // comment line or no delimiter found
11 if (( newLine[0] != '#' ) && ( pos != string::npos )) {
12 string key = newLine.substr(0,pos);
13 diff -up alienblaster/src/font.cc~ alienblaster/src/font.cc
14 --- alienblaster/src/font.cc~ 2007-07-22 21:14:44.000000000 +0200
15 +++ alienblaster/src/font.cc 2007-07-22 21:14:44.000000000 +0200
16 @@ -84,7 +84,7 @@ void Font::drawInt(SDL_Surface *screen,
20 - unsigned int charsetpos = charset.find( (char)((val % 10) + '0') );
21 + string::size_type charsetpos = charset.find( (char)((val % 10) + '0') );
22 if (charsetpos != string::npos ) {
23 srcR.x = charsetpos * charWidth;
25 @@ -127,7 +127,7 @@ void Font::drawStr(SDL_Surface *screen,
29 - unsigned int charsetpos;
30 + string::size_type charsetpos;
31 for(unsigned int i=0; i < text.size(); ++i) {
33 charsetpos = charset.find(text[i]);