File cast-from-pointer-to-integer-of-different-size.patch of Package mlterm

Index: mlterm/ml_config_proto.c
===================================================================
--- mlterm/ml_config_proto.c.orig
+++ mlterm/ml_config_proto.c
@@ -128,7 +128,7 @@ ml_gen_proto_challenge(void)
 		return  0 ;
 	}
 
-	srand( (u_int)(time(NULL) + (int)challenge)) ;
+	srand( (u_int)(time(NULL) + (time_t)challenge)) ;
 	sprintf( challenge , "%d" , rand()) ;
 
 	write( fd , challenge , strlen(challenge)) ;
openSUSE Build Service is sponsored by