Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37515296
en ru br
Репозитории ALT

Группа :: Игры/Прочее
Пакет: alienblaster

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: alienblaster-1.1.0-64bit.patch
Скачать


diff -up alienblaster/src/options.cc~ alienblaster/src/options.cc
--- alienblaster/src/options.cc~	2007-07-22 21:13:29.000000000 +0200
+++ alienblaster/src/options.cc	2007-07-22 21:13:29.000000000 +0200
@@ -48,7 +48,7 @@ Options::Options(const string lFilename)
       string newLine;
       getline( inputFile, newLine );
       // search delimiter
-      unsigned int pos = newLine.find("=");
+      string::size_type pos = newLine.find("=");
       // comment line or no delimiter found
       if (( newLine[0] != '#' ) && ( pos != string::npos )) {
 	string key = newLine.substr(0,pos);
diff -up alienblaster/src/font.cc~ alienblaster/src/font.cc
--- alienblaster/src/font.cc~	2007-07-22 21:14:44.000000000 +0200
+++ alienblaster/src/font.cc	2007-07-22 21:14:44.000000000 +0200
@@ -84,7 +84,7 @@ void Font::drawInt(SDL_Surface *screen, 
       destR.w = charWidth;
       destR.h = charHeight;
       
-      unsigned int charsetpos = charset.find( (char)((val % 10) + '0') );
+      string::size_type charsetpos = charset.find( (char)((val % 10) + '0') );
       if (charsetpos != string::npos ) {
 	srcR.x = charsetpos * charWidth;
       } else {
@@ -127,7 +127,7 @@ void Font::drawStr(SDL_Surface *screen, 
   SDL_Rect srcR;
   
   int x = 0;
-  unsigned int charsetpos;
+  string::size_type charsetpos;
   for(unsigned int i=0; i < text.size(); ++i) {
     x = 0;
     charsetpos = charset.find(text[i]);
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin