mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	Bug #2388: Fix gcc warnings when compiling with --enable-unicode=ucs4.
This commit is contained in:
		
							parent
							
								
									295814e463
								
							
						
					
					
						commit
						d918e4e068
					
				
					 3 changed files with 25 additions and 6 deletions
				
			
		|  | @ -8644,7 +8644,7 @@ PyObject *PyUnicode_Format(PyObject *format, | |||
| 		if (!isnumok) { | ||||
| 			PyErr_Format(PyExc_TypeError,  | ||||
| 			    "%%%c format: a number is required, " | ||||
| 			    "not %.200s", c, Py_TYPE(v)->tp_name); | ||||
|                                      "not %.200s", (char)c, Py_TYPE(v)->tp_name); | ||||
| 			goto onError; | ||||
| 		} | ||||
| 		if (flags & F_ZERO) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Martin v. Löwis
						Martin v. Löwis