mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	Adaptation to py3k.
This commit is contained in:
		
							parent
							
								
									2c906f1540
								
							
						
					
					
						commit
						245671c64a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -176,7 +176,7 @@ win32_SetNamedPipeHandleState(PyObject *self, PyObject *args) | |||
| 
 | ||||
| 	for (i = 0 ; i < 3 ; i++) { | ||||
| 		if (oArgs[i] != Py_None) { | ||||
| 			dwArgs[i] = PyInt_AsUnsignedLongMask(oArgs[i]); | ||||
| 			dwArgs[i] = PyLong_AsUnsignedLongMask(oArgs[i]); | ||||
| 			if (PyErr_Occurred()) | ||||
| 				return NULL; | ||||
| 			pArgs[i] = &dwArgs[i]; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Amaury Forgeot d'Arc
						Amaury Forgeot d'Arc