]> git.pld-linux.org Git - packages/armagetron.git/commitdiff
- one more (found by gcc warning)
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 1 Dec 2003 10:12:37 +0000 (10:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    armagetron-types.patch -> 1.2

armagetron-types.patch

index a6244fa8d5527cbc928c5a5762f778e5b833d829..709550d9168288d39fef5cead3a8ee95d4b4ce7f 100644 (file)
                  );
  }
  
+--- armagetron-0.2.6.0/src/tron/gAIBase.cpp.orig       2003-07-20 10:13:10.000000000 +0000
++++ armagetron-0.2.6.0/src/tron/gAIBase.cpp    2003-12-01 10:08:34.000000000 +0000
+@@ -113,7 +113,7 @@
+               gAIPlayer  *ai  = dynamic_cast<gAIPlayer*>(p);
+               if (ai && ai->Character() )
+               {
+-                      int index = ((int)ai->Character() - (int)&gAICharacter::s_Characters(0))/sizeof(gAICharacter);
++                      int index = ((size_t)ai->Character() - (size_t)&gAICharacter::s_Characters(0))/sizeof(gAICharacter);
+                       inGame(index) = true;
+               }
+       }
This page took 0.075316 seconds and 4 git commands to generate.