get rid of warning about wrong fp signature
This commit is contained in:
		
							parent
							
								
									06c08f112e
								
							
						
					
					
						commit
						3f66ea2932
					
				
							
								
								
									
										10
									
								
								dunst.c
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								dunst.c
									
									
									
									
									
								
							| @ -114,12 +114,14 @@ void hide_win(void); | |||||||
| void move_all_to_history(void); | void move_all_to_history(void); | ||||||
| void print_version(void); | void print_version(void); | ||||||
| 
 | 
 | ||||||
| int cmp_notification(notification * a, notification * b) | int cmp_notification(void * a, void * b) | ||||||
| { | { | ||||||
|         if (a->urgency != b->urgency) { |         notification *na = (notification *) a; | ||||||
|                 return a->urgency - b->urgency; |         notification *nb = (notification *) b; | ||||||
|  |         if (na->urgency != nb->urgency) { | ||||||
|  |                 return na->urgency - nb->urgency; | ||||||
|         } else { |         } else { | ||||||
|                 return b->timestamp - a->timestamp; |                 return nb->timestamp - na->timestamp; | ||||||
|         } |         } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Sascha Kruse
						Sascha Kruse