summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main')
-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 dfbe910a064..c7304e8dd75 100644
--- a/src/mesa/main/histogram.c
+++ b/src/mesa/main/histogram.c
@@ -190,7 +190,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);