mirror of
				https://github.com/libsdl-org/SDL.git
				synced 2025-10-26 12:27:44 +00:00 
			
		
		
		
	testhaptic: fix conversion from size_t to int
				
					
				
			Emitted by MSVC
This commit is contained in:
		 Anonymous Maarten
					Anonymous Maarten
				
			
				
					committed by
					
						 Anonymous Maarten
						Anonymous Maarten
					
				
			
			
				
	
			
			
			 Anonymous Maarten
						Anonymous Maarten
					
				
			
						parent
						
							18c776e155
						
					
				
				
					commit
					ebae142aa4
				
			| @@ -59,7 +59,7 @@ main(int argc, char **argv) | ||||
|             return 0; | ||||
|         } | ||||
|  | ||||
|         i = SDL_strlen(name); | ||||
|         i = (int)SDL_strlen(name); | ||||
|         if ((i < 3) && SDL_isdigit(name[0]) && ((i == 1) || SDL_isdigit(name[1]))) { | ||||
|             index = SDL_atoi(name); | ||||
|             name = NULL; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user