[babl] fix bug 755405



commit 746b5b64a6daa660dfc65f531f0cd46628c13660
Author: Øyvind Kolås <pippin gimp org>
Date:   Sat Nov 21 03:44:13 2015 +0100

    fix bug 755405

 extensions/gggl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/extensions/gggl.c b/extensions/gggl.c
index e9fc1d9..7b05e12 100644
--- a/extensions/gggl.c
+++ b/extensions/gggl.c
@@ -673,7 +673,7 @@ conv_rgbF_rgbaF (unsigned char *src, unsigned char *dst, long samples)
       *(uint32_t *) dst = (*(uint32_t *) src);
       src           += 4;
       dst           += 4;
-      *(uint32_t *) dst = 1.0;
+      *(float *) dst = 1.0;
       dst           += 4;
     }
   return samples;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]