Commit 3669305bb7d8a8ad923777733d688fd6db8ea7da

Authored by bhklein
1 parent 3a13f813

cast this to qint64

Showing 1 changed file with 1 additions and 1 deletions
openbr/core/bee.cpp
... ... @@ -208,7 +208,7 @@ void writeMatrix(const Mat &m, const QString &fileName, const QString &targetSig
208 208 memcpy(&buff, &endian, 4);
209 209 file.write(buff, 4);
210 210 file.write("\n");
211   - file.write((const char*)m.data, m.rows*m.cols*elemSize);
  211 + file.write((const char*)m.data, (qint64)m.rows*m.cols*elemSize);
212 212 file.close();
213 213 }
214 214  
... ...