Merge pull request #489 from Armagetron/master

Use correct file pointer
This commit is contained in:
Lee Thomason 2016-10-17 15:33:57 -07:00 committed by GitHub
commit 15ad07170d
1 changed files with 1 additions and 1 deletions

View File

@ -1618,7 +1618,7 @@ int main( int argc, const char ** argv )
FILE* perfFP = fopen("resources/dream.xml", "r");
fseek(perfFP, 0, SEEK_END);
long size = ftell(fp);
long size = ftell(perfFP);
fseek(perfFP, 0, SEEK_SET);
char* mem = new char[size + 1];