Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37895320
en ru br
ALT Linux repos
S:1.1-alt5_47

Group :: Games/Other
RPM: abe

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: abe-1.1-format.patch
Download


--- src/MapIO.c.orig	2005-03-05 09:20:04.000000000 -0700
+++ src/MapIO.c	2011-03-14 10:15:33.166949366 -0600
@@ -93,7 +93,7 @@
   // compression step 1: read compressed data from disk
   // FIXME: what would be nicer is to only allocate as much mem as used on disk.
   size = LEVEL_COUNT * map.w * map.h;
-  printf("size %u\n", size);
+  printf("size %zu\n", size);
   fflush(stdout);
   if(!(read_buff = (Uint16 *) malloc(sizeof(Uint16) * size))) {
     fprintf(stderr, "Out of memory on map read.");
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin