Update t_hash_int.cpp

Bug in the hashtableWrite.
fwrite the &node->data need to change to node->data
pull/2053/head
LanPaHenDa 6 years ago committed by LanPaHenDa
parent 6d16876ee2
commit ab8b76bcd4
  1. 2
      modules/surface_matching/src/t_hash_int.cpp

@ -292,7 +292,7 @@ int hashtableWrite(const hashtable_int * hashtbl, const size_t dataSize, FILE* f
while (node)
{
fwrite(&node->key, sizeof(KeyType), 1, f);
fwrite(&node->data, dataSize, 1, f);
fwrite(node->data, dataSize, 1, f);
node=node->next;
}
}

Loading…
Cancel
Save