From: Brian Paul Date: Thu, 5 Nov 2009 00:58:43 +0000 (-0700) Subject: mesa: added cast to silence warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7c623905bc032480a0765093825f3bd105345121;p=mesa.git mesa: added cast to silence warning --- diff --git a/src/mesa/main/histogram.c b/src/mesa/main/histogram.c index 4c46f927871..2b3e62c7d5e 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);