diff --git a/app/base/tile-manager.c b/app/base/tile-manager.c index 57726615d6..58373094a7 100644 --- a/app/base/tile-manager.c +++ b/app/base/tile-manager.c @@ -236,7 +236,7 @@ tile_manager_get (TileManager *tm, #ifdef DEBUG_TILE_MANAGER if (G_UNLIKELY (tile->share_count && tile->write_count)) - g_printerr (">> MEEPITY %d,%d <<\n", tile->share_count, tile->write_count); + g_printerr (">> MEEPITY %u,%d <<\n", tile->share_count, tile->write_count); #endif if (wantread) diff --git a/app/base/tile-private.h b/app/base/tile-private.h index 2b73a338ee..bfa92f0a67 100644 --- a/app/base/tile-private.h +++ b/app/base/tile-private.h @@ -47,7 +47,7 @@ struct _Tile */ gshort write_count; /* write count: number of references that are for write access */ - gshort share_count; /* share count: number of tile managers that + guint share_count; /* share count: number of tile managers that hold this tile */ guint dirty : 1; /* is the tile dirty? has it been modified? */ guint valid : 1; /* is the tile valid? */ diff --git a/app/base/tile.c b/app/base/tile.c index 2256110ec2..95353578f5 100644 --- a/app/base/tile.c +++ b/app/base/tile.c @@ -294,7 +294,7 @@ tile_detach (Tile *tile, TileLink *tmp; #ifdef TILE_DEBUG - g_printerr ("tile_detach: %p ~> (%p,%d) r%d *%d\n", + g_printerr ("tile_detach: %p ~> (%p,%d) r%d *%u\n", tile, tm, tile_num, tile->ref_count, tile->share_count); #endif