freebsd-ports/graphics/rawstudio/files/patch-src_rs-batch.c
Pawel Pekala 562d243d55 Add patch fixing segfault at startup
PR:		203297
Submitted by:	fbsd@opal.com
Approved by:	maintainer timeout
MFH:		2015Q4
2015-10-16 20:22:09 +00:00

11 lines
309 B
C

--- src/rs-batch.c.orig 2011-04-07 18:05:03 UTC
+++ src/rs-batch.c
@@ -830,7 +830,7 @@ static void
filetype_changed(gpointer active, gpointer user_data)
{
RS_QUEUE *queue = (RS_QUEUE *) user_data;
- GType filetype = GPOINTER_TO_INT(active);
+ GType filetype = (GType)active;
if (!filetype)
return;