little change in flann save_value. Likely does not affect anything

This commit is contained in:
Vadim Pisarevsky 2010-12-04 17:09:40 +00:00
parent 56d4f875b4
commit 695aa02e98

View File

@ -97,7 +97,7 @@ CV_EXPORTS IndexHeader load_header(FILE* stream);
template<typename T>
void save_value(FILE* stream, const T& value, int count = 1)
{
fwrite(&value, sizeof(value),count, stream);
fwrite(&value, 1, sizeof(value)*count, stream);
}