little change in flann save_value. Likely does not affect anything

pull/13383/head
Vadim Pisarevsky 14 years ago
parent 56d4f875b4
commit 695aa02e98
  1. 2
      modules/flann/include/opencv2/flann/saving.h

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

Loading…
Cancel
Save