mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
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? */
|
||||
enum { apAttr, apIndex } apType = apAttr;
|
||||
string attr = *i;
|
||||
int attrIndex = -1;
|
||||
unsigned int attrIndex;
|
||||
if (string2Int(attr, attrIndex)) apType = apIndex;
|
||||
|
||||
/* Evaluate the expression. */
|
||||
|
|
Loading…
Reference in a new issue