mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	Fix compilation warning in _ctypes module on Window
This commit is contained in:
		
							parent
							
								
									c913989370
								
							
						
					
					
						commit
						20f11fe43c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -110,7 +110,7 @@ void ffi_prep_args(char *stack, extended_cif *ecif) | |||
|       argp += z; | ||||
|     } | ||||
| 
 | ||||
|   if (argp - stack > ecif->cif->bytes)  | ||||
|   if (argp >= stack && (unsigned)(argp - stack) > ecif->cif->bytes)  | ||||
|     { | ||||
|       Py_FatalError("FFI BUG: not enough stack space for arguments"); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Amaury Forgeot d'Arc
						Amaury Forgeot d'Arc