mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	death to compiler warning
This commit is contained in:
		
							parent
							
								
									074e5ed974
								
							
						
					
					
						commit
						adf6a6c842
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -2513,7 +2513,9 @@ PyUnicode_EncodeUTF8(const Py_UNICODE *s, | |||
|                 *p++ = (char)(0x80 | (ch & 0x3f)); | ||||
|                 continue; | ||||
|             } | ||||
| #ifndef Py_UNICODE_WIDE | ||||
|           encodeUCS4: | ||||
| #endif | ||||
|             /* Encode UCS4 Unicode ordinals */ | ||||
|             *p++ = (char)(0xf0 | (ch >> 18)); | ||||
|             *p++ = (char)(0x80 | ((ch >> 12) & 0x3f)); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Benjamin Peterson
						Benjamin Peterson