Module: Mesa Branch: mesa_7_6_branch Commit: 7c623905bc032480a0765093825f3bd105345121 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c623905bc032480a0765093825f3bd105345121
Author: Brian Paul <bri...@vmware.com> Date: Wed Nov 4 17:58:43 2009 -0700 mesa: added cast to silence warning --- src/mesa/main/histogram.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/histogram.c b/src/mesa/main/histogram.c index 4c46f92..2b3e62c 100644 --- a/src/mesa/main/histogram.c +++ b/src/mesa/main/histogram.c @@ -187,7 +187,7 @@ pack_histogram( GLcontext *ctx, /* temporarily store as GLuints */ GLuint temp[4*HISTOGRAM_TABLE_SIZE]; GLuint *dst = temp; - GLhalfARB *half = destination; + GLhalfARB *half = (GLhalfARB *) destination; GLuint i; /* get GLuint values */ PACK_MACRO(GLuint); _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit