From: Keith Whitwell Date: Thu, 5 Nov 2009 08:00:33 +0000 (+0000) Subject: i965g: fix compiler warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2475e5db679a70c4a3868dc07037d009865a6694;p=mesa.git i965g: fix compiler warning --- diff --git a/src/gallium/drivers/i965/brw_misc_state.c b/src/gallium/drivers/i965/brw_misc_state.c index b562eb71529..8e35f9ad1d6 100644 --- a/src/gallium/drivers/i965/brw_misc_state.c +++ b/src/gallium/drivers/i965/brw_misc_state.c @@ -343,7 +343,7 @@ const struct brw_tracked_state brw_polygon_stipple = { static int upload_line_stipple(struct brw_context *brw) { - struct brw_line_stipple *bls = &brw->curr.rast->bls; + const struct brw_line_stipple *bls = &brw->curr.rast->bls; BRW_CACHED_BATCH_STRUCT(brw, bls); return 0; }