libeventdb (0.90-4) event.c

Summary

 event.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

--- libeventdb-0.90.orig/event.c
+++ libeventdb-0.90/event.c
@@ -1257,7 +1257,7 @@
       return;
     }
 
-  ev->categories = g_slist_prepend (ev->categories, (gpointer) category);
+  ev->categories = g_slist_prepend (ev->categories, GINT_TO_POINTER(category));
 
   STAMP (ev, error);
 }