Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37858042
en ru br
ALT Linux repositórios
S:1.1.0-alt2_21

Group :: Jogos/Outros
RPM: alienblaster

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: alienblaster-1.1.0-64bit.patch
Download


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]);
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009