From 86778dadc54051d7b97bb542ae465a31225a717d Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Fri, 29 Oct 2010 19:30:57 +0200 Subject: 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 --- src/gallium/winsys/r600/drm/r600_priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3