1
0
Fork 0

BRIDGE: fixed warning in bridgegraph

This commit is contained in:
mrexodia 2016-07-12 07:47:00 +02:00
parent cfe6e25a0e
commit 305235a45f
No known key found for this signature in database
GPG Key ID: D72F9A4FAA0073B4
1 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ struct BridgeCFNode
userdata = nodeList->userdata;
auto data = (duint*)nodeList->exits->data;
exits.resize(nodeList->exits->count);
for(size_t i = 0; i < nodeList->exits->count; i++)
for(int i = 0; i < nodeList->exits->count; i++)
exits[i] = data[i];
}
@ -93,7 +93,7 @@ struct BridgeCFGraph
entryPoint = graphList->entryPoint;
userdata = graphList->userdata;
auto data = (BridgeCFNode*)graphList->nodes->data;
for(size_t i = 0; i < graphList->nodes->count; i++)
for(int i = 0; i < graphList->nodes->count; i++)
AddNode(data[i]);
}