summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/pipebuffer/pb_bufmgr_alt.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-06-18 12:51:00 +0100
committerJosé Fonseca <[email protected]>2009-06-18 14:54:08 +0100
commit2af0173e9e4eefe910c6011038e7346091a9b2a4 (patch)
tree8ea0482b0677bd241386865bacb25db7e8dc67cc /src/gallium/auxiliary/pipebuffer/pb_bufmgr_alt.c
parent42882897c67f6c74e67e120e946a95929e6c2065 (diff)
pipebuffer: Use a type consistently for sizes/offsets.
Avoids warnings on 64bit builds. Use regular unsigned since that's what gallium expects, but use a typedef to facilitate possible changes in the future.
Diffstat (limited to 'src/gallium/auxiliary/pipebuffer/pb_bufmgr_alt.c')
-rw-r--r--src/gallium/auxiliary/pipebuffer/pb_bufmgr_alt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_alt.c b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_alt.c
index db67d46c561..f60c836f18b 100644
--- a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_alt.c
+++ b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_alt.c
@@ -60,7 +60,7 @@ pb_alt_manager(struct pb_manager *mgr)
static struct pb_buffer *
pb_alt_manager_create_buffer(struct pb_manager *_mgr,
- size_t size,
+ pb_size size,
const struct pb_desc *desc)
{
struct pb_alt_manager *mgr = pb_alt_manager(_mgr);