[gegl] exr-load: cast a babl format, since it will become const



commit ff9d9de5b488f76ee91928458149f5b687651009
Author: Ãyvind KolÃs <pippin gimp org>
Date:   Sun Mar 18 16:03:04 2012 +0000

    exr-load: cast a babl format, since it will become const

 operations/external/exr-load.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/external/exr-load.cpp b/operations/external/exr-load.cpp
index bd28569..fcb8787 100644
--- a/operations/external/exr-load.cpp
+++ b/operations/external/exr-load.cpp
@@ -593,7 +593,7 @@ query_exr (const gchar *path,
     }
 
   *ff_ptr = format_flags;
-  *format = babl_format (format_string);
+  *format = (void*)babl_format (format_string);
   return TRUE;
 }
 



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