summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-11-04 17:58:43 -0700
committerBrian Paul <brianp@vmware.com>2009-11-04 17:58:43 -0700
commit7c623905bc032480a0765093825f3bd105345121 (patch)
treeb3c43ad3567cd8220fe9138996cecdb4a39ee885 /src/mesa
parent1c3f7ab74ce492d6c92f2e3a0f29957fa9a71d96 (diff)
mesa: added cast to silence warning
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/histogram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/histogram.c b/src/mesa/main/histogram.c
index 4c46f92787..2b3e62c7d5 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);