mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Fix warnings on 64-bit platforms about casts from pointers to ints.
Two of these were real bugs.
This commit is contained in:
		
							parent
							
								
									770acd3f7f
								
							
						
					
					
						commit
						efc1188239
					
				
					 3 changed files with 5 additions and 3 deletions
				
			
		|  | @ -6465,7 +6465,8 @@ PyObject *PyUnicode_Format(PyObject *format, | |||
| 			     "unsupported format character '%c' (0x%x) " | ||||
| 			     "at index %i", | ||||
| 			     (31<=c && c<=126) ? c : '?',  | ||||
|                              c, fmt -1 - PyUnicode_AS_UNICODE(uformat)); | ||||
|                              c, | ||||
| 			     (int)(fmt -1 - PyUnicode_AS_UNICODE(uformat))); | ||||
| 		goto onError; | ||||
| 	    } | ||||
| 	    if (sign) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Guido van Rossum
						Guido van Rossum