mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	Fix a compiler warning: use unsiged for maxchar in unicode_widen()
This commit is contained in:
		
							parent
							
								
									596a6c4ffc
								
							
						
					
					
						commit
						0a045efb49
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -1556,7 +1556,7 @@ PyUnicode_Resize(PyObject **p_unicode, Py_ssize_t length)
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static int
 | 
					static int
 | 
				
			||||||
unicode_widen(PyObject **p_unicode, int maxchar)
 | 
					unicode_widen(PyObject **p_unicode, unsigned int maxchar)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    PyObject *result;
 | 
					    PyObject *result;
 | 
				
			||||||
    assert(PyUnicode_IS_READY(*p_unicode));
 | 
					    assert(PyUnicode_IS_READY(*p_unicode));
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue