summaryrefslogtreecommitdiff
path: root/src/libutil/mipmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/mipmap.c')
-rw-r--r--src/libutil/mipmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/mipmap.c b/src/libutil/mipmap.c
index 52515df..026ab84 100644
--- a/src/libutil/mipmap.c
+++ b/src/libutil/mipmap.c
@@ -5593,7 +5593,7 @@ static void shove565(const GLfloat shoveComponents[],
static void extract565rev(int isSwap,
const void *packedPixel, GLfloat extractComponents[])
{
- GLushort ushort= *(const GLushort *)packedPixel;
+ GLushort ushort;
if (isSwap) {
ushort= __GLU_SWAP_2_BYTES(packedPixel);