diff options
| author | Brian Paul <brianp@vmware.com> | 2009-11-04 17:58:43 -0700 |
|---|---|---|
| committer | Brian Paul <brianp@vmware.com> | 2009-11-04 17:58:43 -0700 |
| commit | 7c623905bc032480a0765093825f3bd105345121 (patch) | |
| tree | b3c43ad3567cd8220fe9138996cecdb4a39ee885 /src | |
| parent | 1c3f7ab74ce492d6c92f2e3a0f29957fa9a71d96 (diff) | |
mesa: added cast to silence warning
Diffstat (limited to 'src')
| -rw-r--r-- | 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 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); |
