We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30f9d33 commit 05e4e54Copy full SHA for 05e4e54
1 file changed
Source/Plugins/BinaryWriter/NpyFile.cpp
@@ -159,7 +159,7 @@ void NpyFile::updateHeader()
159
// overwrite the shape part of the header - even without explicitly calling
160
// m_file->flush(), overwriting seems to trigger a flush to disk,
161
// while appending to end of file does not
162
- int currentPos = m_file->getPosition();
+ int64 currentPos = m_file->getPosition(); // returns int64, necessary for big files
163
if (m_file->setPosition(m_shapePos))
164
{
165
String newShape = getShapeString();
0 commit comments