summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/mm.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-06-24 11:34:46 +0900
committerJosé Fonseca <[email protected]>2008-06-24 11:34:46 +0900
commit18ec140ef27b6488bea9d54e21b08b0a3afbcafe (patch)
treec65033e375e12ed3ceed04fea934b5d8e57f6561 /src/mesa/main/mm.c
parent80b359f574cd8565af46e0900d2da9dd0faf4291 (diff)
mesa: Use appropriate unsigned/signed, float/integer types.
Diffstat (limited to 'src/mesa/main/mm.c')
-rw-r--r--src/mesa/main/mm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/mm.c b/src/mesa/main/mm.c
index fb7809ed221..9f3aa00aff3 100644
--- a/src/mesa/main/mm.c
+++ b/src/mesa/main/mm.c
@@ -164,8 +164,8 @@ mmAllocMem(struct mem_block *heap, int size, int align2, int startSearch)
{
struct mem_block *p;
const int mask = (1 << align2)-1;
- unsigned int startofs = 0;
- unsigned int endofs;
+ int startofs = 0;
+ int endofs;
if (!heap || align2 < 0 || size <= 0)
return NULL;