commit | 3c21d6fbb7613c69def5a30979403e1d75b7b1df | [log] [tgz] |
---|---|---|
author | Armagetron <armagetron@live.de> | Thu Oct 13 13:31:23 2016 +0200 |
committer | Armagetron <armagetron@live.de> | Thu Oct 13 13:31:23 2016 +0200 |
tree | fb7efbdcf772b7bb6ac66e9f9207962e3ed353fd | |
parent | f6106bec9a1e1b1d22146424721e472220ab0847 [diff] [blame] |
Use correct file pointer
diff --git a/xmltest.cpp b/xmltest.cpp index 56d5d5a..f474951 100644 --- a/xmltest.cpp +++ b/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];