From: Tilman Sauerbeck Date: Fri, 29 Oct 2010 17:30:57 +0000 (+0200) Subject: r600g: Made radeon_bo::map_count signed. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=86778dadc54051d7b97bb542ae465a31225a717d;p=mesa.git r600g: Made radeon_bo::map_count signed. That way assert(map_count >= 0) can actually fail when we screwed up. Signed-off-by: Tilman Sauerbeck --- diff --git a/src/gallium/winsys/r600/drm/r600_priv.h b/src/gallium/winsys/r600/drm/r600_priv.h index 117d0597ad5..efecfebc2b1 100644 --- a/src/gallium/winsys/r600/drm/r600_priv.h +++ b/src/gallium/winsys/r600/drm/r600_priv.h @@ -62,7 +62,7 @@ struct radeon_bo { unsigned handle; unsigned size; unsigned alignment; - unsigned map_count; + int map_count; void *data; struct list_head fencedlist; unsigned fence;