mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	declare the explicit type for our PA_xSEC_PER_ySEC constants
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2448 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									b8849f5c2f
								
							
						
					
					
						commit
						85d9abea8a
					
				
					 2 changed files with 7 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -140,7 +140,7 @@ struct timeval* pa_timeval_add(struct timeval *tv, pa_usec_t v) {
 | 
			
		|||
    tv->tv_usec += (suseconds_t) v;
 | 
			
		||||
 | 
			
		||||
    /* Normalize */
 | 
			
		||||
    while (tv->tv_usec >= PA_USEC_PER_SEC) {
 | 
			
		||||
    while ((unsigned) tv->tv_usec >= PA_USEC_PER_SEC) {
 | 
			
		||||
        tv->tv_sec++;
 | 
			
		||||
        tv->tv_usec -= PA_USEC_PER_SEC;
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue