mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 11:49:12 +00:00 
			
		
		
		
	C++ compiler cleanup: cast signed to unsigned
This commit is contained in:
		
							parent
							
								
									dd527fcbcd
								
							
						
					
					
						commit
						a0b6338823
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -1230,7 +1230,7 @@ tok_get(register struct tok_state *tok, char **p_start, char **p_end)
 | 
				
			||||||
		do {
 | 
							do {
 | 
				
			||||||
			*tp++ = c = tok_nextc(tok);
 | 
								*tp++ = c = tok_nextc(tok);
 | 
				
			||||||
		} while (c != EOF && c != '\n' &&
 | 
							} while (c != EOF && c != '\n' &&
 | 
				
			||||||
			 tp - cbuf + 1 < sizeof(cbuf));
 | 
								 (unsigned int)(tp - cbuf + 1) < sizeof(cbuf));
 | 
				
			||||||
		*tp = '\0';
 | 
							*tp = '\0';
 | 
				
			||||||
		for (cp = tabforms;
 | 
							for (cp = tabforms;
 | 
				
			||||||
		     cp < tabforms + sizeof(tabforms)/sizeof(tabforms[0]);
 | 
							     cp < tabforms + sizeof(tabforms)/sizeof(tabforms[0]);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue