Silence a few warnings.

This commit is contained in:
Zack Rusin 2007-09-21 04:56:39 -04:00
parent 154335d53f
commit b0fa489eba
3 changed files with 3 additions and 3 deletions

View file

@ -139,7 +139,7 @@ i915_max_texture_size(struct pipe_context *pipe, unsigned textureType,
static int
i915_get_param(struct pipe_context *pipe, uint param)
i915_get_param(struct pipe_context *pipe, int param)
{
switch (param) {
case PIPE_PARAM_FS_NEEDS_POS:

View file

@ -240,7 +240,7 @@ i915_update_texture(struct i915_context *i915, uint unit,
{
struct pipe_buffer_handle *p = driBOReference(mt->region->buffer);
/*struct pipe_buffer_handle *p =*/ driBOReference(mt->region->buffer);
}
#if 0

View file

@ -236,7 +236,7 @@ static const char *softpipe_get_vendor( struct pipe_context *pipe )
return "Tungsten Graphics, Inc.";
}
static int softpipe_get_param(struct pipe_context *pipe, uint param)
static int softpipe_get_param(struct pipe_context *pipe, int param)
{
switch (param) {
case PIPE_PARAM_FS_NEEDS_POS: