Get rid of a signedness warning
This commit is contained in:
		
							parent
							
								
									33972629d7
								
							
						
					
					
						commit
						92077b4547
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -27,7 +27,7 @@ void findAlongAttrPath(EvalState & state, const string & attrPath,
 | 
				
			||||||
        /* Is *i an index (integer) or a normal attribute name? */
 | 
					        /* Is *i an index (integer) or a normal attribute name? */
 | 
				
			||||||
        enum { apAttr, apIndex } apType = apAttr;
 | 
					        enum { apAttr, apIndex } apType = apAttr;
 | 
				
			||||||
        string attr = *i;
 | 
					        string attr = *i;
 | 
				
			||||||
        int attrIndex = -1;
 | 
					        unsigned int attrIndex;
 | 
				
			||||||
        if (string2Int(attr, attrIndex)) apType = apIndex;
 | 
					        if (string2Int(attr, attrIndex)) apType = apIndex;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        /* Evaluate the expression. */
 | 
					        /* Evaluate the expression. */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue