galahad: silence warnings
authorBrian Paul <brianp@vmware.com>
Fri, 22 Oct 2010 14:58:35 +0000 (08:58 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 22 Oct 2010 14:58:35 +0000 (08:58 -0600)
src/gallium/drivers/galahad/glhd_context.c
src/gallium/drivers/galahad/glhd_screen.c

index ff6d2aa00ab694533caadc11e4891a5defac5369..50f66079c2a5e7c50175109ce1e63be1e2ec14a4 100644 (file)
@@ -641,7 +641,7 @@ galahad_set_index_buffer(struct pipe_context *_pipe,
          break;
       default:
          glhd_warn("index buffer %p has unrecognized index size %d",
-               _ib->buffer, _ib->index_size);
+                   (void *) _ib->buffer, _ib->index_size);
          break;
       }
    }
@@ -1013,7 +1013,7 @@ galahad_context_create(struct pipe_screen *_screen, struct pipe_context *pipe)
 
    glhd_pipe->pipe = pipe;
 
-   glhd_warn("Created context %p", glhd_pipe);
+   glhd_warn("Created context %p", (void *) glhd_pipe);
 
    return &glhd_pipe->base;
 }
index 288941b10667246f5fd48bd0ffc9236f58305dad..b6cc41d908be607ab332c67285d7c45ed81eb7cf 100644 (file)
@@ -370,7 +370,7 @@ galahad_screen_create(struct pipe_screen *screen)
 
    glhd_screen->screen = screen;
 
-   glhd_warn("Created screen %p", glhd_screen);
+   glhd_warn("Created screen %p", (void *) glhd_screen);
 
    return &glhd_screen->base;
 }