parsedate: Fixed compilation warning
Remove compilation message for platforms where size of long type is equal size of int type.
This commit is contained in:
		
				
					committed by
					
						
						Daniel Stenberg
					
				
			
			
				
	
			
			
			
						parent
						
							d8073db304
						
					
				
				
					commit
					85484355b3
				
			@@ -410,8 +410,10 @@ static int parsedate(const char *date, time_t *output)
 | 
			
		||||
        if(error)
 | 
			
		||||
          return PARSEDATE_FAIL;
 | 
			
		||||
 | 
			
		||||
#if LONG_MAX != INT_MAX
 | 
			
		||||
        if((lval > (long)INT_MAX) || (lval < (long)INT_MIN))
 | 
			
		||||
          return PARSEDATE_FAIL;
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
        val = curlx_sltosi(lval);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user