summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2013-11-11 11:08:26 -0800
committerIan Romanick <[email protected]>2013-11-13 14:49:27 -0800
commita15a19f0d1b024f5f18f1dfe878ae8d399e38469 (patch)
treec3688d4a429a0238376e1d5e5ddfab3d2042b878 /src/mesa/drivers/dri/i915
parentcb6182bdfa7c8a5a773ec21112886f742df99840 (diff)
dri: Change value param to unsigned
This silences some compiler warnings in i915 and i965. See also 75982a5. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Cc: "10.0" <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r--src/mesa/drivers/dri/i915/intel_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_screen.c b/src/mesa/drivers/dri/i915/intel_screen.c
index 1ef36207e6f..87f53e79ff8 100644
--- a/src/mesa/drivers/dri/i915/intel_screen.c
+++ b/src/mesa/drivers/dri/i915/intel_screen.c
@@ -703,7 +703,7 @@ static struct __DRIimageExtensionRec intelImageExtension = {
};
static int
-i915_query_renderer_integer(__DRIscreen *psp, int param, int *value)
+i915_query_renderer_integer(__DRIscreen *psp, int param, unsigned int *value)
{
const struct intel_screen *const intelScreen =
(struct intel_screen *) psp->driverPrivate;