mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	Fix a compilater warning on Windows 64-bit
idx variable is used for a tuple indexn so use Py_ssize_t (not int).
This commit is contained in:
		
							parent
							
								
									3a8f510b52
								
							
						
					
					
						commit
						d3dfd0e433
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -2256,7 +2256,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag) | ||||||
| 
 | 
 | ||||||
|         TARGET(LOAD_CLASSDEREF) { |         TARGET(LOAD_CLASSDEREF) { | ||||||
|             PyObject *name, *value, *locals = f->f_locals; |             PyObject *name, *value, *locals = f->f_locals; | ||||||
|             int idx; |             Py_ssize_t idx; | ||||||
|             assert(locals); |             assert(locals); | ||||||
|             assert(oparg >= PyTuple_GET_SIZE(co->co_cellvars)); |             assert(oparg >= PyTuple_GET_SIZE(co->co_cellvars)); | ||||||
|             idx = oparg - PyTuple_GET_SIZE(co->co_cellvars); |             idx = oparg - PyTuple_GET_SIZE(co->co_cellvars); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Victor Stinner
						Victor Stinner