VS2010 Warning miscompare sign/unsigned
This commit is contained in:
@@ -222,7 +222,7 @@ void ASTCompileNode(ASTNode *root, FILE *file) {
|
|||||||
|
|
||||||
if (currNode->type == 2) {
|
if (currNode->type == 2) {
|
||||||
/* repeat to compile child node */
|
/* repeat to compile child node */
|
||||||
for (int i = 0; i < currNode->repeat; i++) {
|
for (unsigned int i = 0; i < currNode->repeat; i++) {
|
||||||
/* recursion */
|
/* recursion */
|
||||||
ASTCompileNode(currNode->child, file);
|
ASTCompileNode(currNode->child, file);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user