Author: post
Date: 2011-04-06 23:28:34 +0200 (Wed, 06 Apr 2011)
New Revision: 3961

Modified:
   trunk/src/gtk-interface.c
Log:
Fix warning.

Modified: trunk/src/gtk-interface.c
===================================================================
--- trunk/src/gtk-interface.c   2011-04-06 20:39:23 UTC (rev 3960)
+++ trunk/src/gtk-interface.c   2011-04-06 21:28:34 UTC (rev 3961)
@@ -821,7 +821,7 @@
        gui_confbox_set_callback(filetype_box, quick, filetype_changed);
        active = gui_confbox_get_active(filetype_box);
        if (!active)
-               active = g_type_from_name("RSJpegfile");
+               active = GUINT_TO_POINTER(g_type_from_name("RSJpegfile"));
        quick->output_type = g_type_name(GPOINTER_TO_INT(active));
 
        /* Load default from conf, or use RSJpegfile */


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to