Minor changes

This commit is contained in:
DennisOSRM
2011-12-01 15:12:30 +01:00
parent 5236fb8c0e
commit 9abb317e6d
3 changed files with 35 additions and 47 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ struct ObjectsForQueryStruct {
names = new std::vector<std::string>();
char buf[1024];
for(unsigned i = 0; i < size; i++) {
for(unsigned i = 0; i < size; ++i) {
unsigned sizeOfString = 0;
namesInStream.read((char *)&sizeOfString, sizeof(unsigned));
memset(buf, 0, 1024*sizeof(char));