Skip to content

Commit 5faccbc

Browse files
committed
Fix linux build errors
1 parent 12c40d9 commit 5faccbc

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Source/Processors/RecordNode/BinaryFormat/BinaryRecording.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ void BinaryRecording::writeContinuousData (int writeChannel,
685685
}
686686

687687
/* Generate sequential sample numbers using SIMD-optimized fill */
688-
SIMDConverter::fillSequentialInt64 (m_sampleNumberBuffer, baseSampleNumber, size);
688+
SIMDConverter::fillSequentialInt64 (m_sampleNumberBuffer.getData(), baseSampleNumber, size);
689689

690690
/* Write int timestamps to disc */
691691
m_dataTimestampFiles[fileIndex]->writeData (m_sampleNumberBuffer, size * sizeof (int64));

Source/Processors/RecordNode/DataQueue.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
*/
2323

2424
#include "DataQueue.h"
25+
#include <climits>
2526

2627
DataQueue::DataQueue (int blockSize, int nBlocks) : m_buffer (0, blockSize * nBlocks),
2728
m_numChans (0),

0 commit comments

Comments
 (0)