File invalid-cast.patch of Package gnokii

Index: b/xgnokii/xgnokii_xring.c
===================================================================
--- a/xgnokii/xgnokii_xring.c	2020-01-02 14:24:12.000000000 +0200
+++ b/xgnokii/xgnokii_xring.c	2020-09-15 14:21:24.613230718 +0200
@@ -179,7 +179,7 @@ static int createpixmap(GtkWidget * wind
 						   &style->
 						   bg[GTK_STATE_NORMAL],
 						   a);
-	return (int) pam->pixmap;	/* (to) NULL or not (to) NULL */
+	return pam->pixmap != NULL;	/* (to) NULL or not (to) NULL */
 }
 
 enum {
openSUSE Build Service is sponsored by