mesa: added cast to silence warning
authorBrian Paul <brianp@vmware.com>
Thu, 5 Nov 2009 00:58:43 +0000 (17:58 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 5 Nov 2009 00:58:43 +0000 (17:58 -0700)
src/mesa/main/histogram.c

index 4c46f9278712c9bd8cf367d6ae5d8c800172f8bb..2b3e62c7d5e243c88e92a17f06ca495c29cb435d 100644 (file)
@@ -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);