blob: 94b2668a1a485a63bc967f5ad4d44205f637b45b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- tinyxml2-4.0.1/xmltest.cpp
+++ tinyxml2-4.0.1/xmltest.cpp
@@ -1618,7 +1618,7 @@
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];
|