only:trying to help mac compiler

This commit is contained in:
rusefillc 2024-03-23 08:36:10 -04:00
parent 3919fab7b3
commit a6c112144f
1 changed files with 3 additions and 3 deletions

View File

@ -317,8 +317,8 @@ static void writeChannelDataHeader() {
writeId(0, 0); writeId(0, 0);
write(BLOCK); write(BLOCK);
int SAM_ARRAY[] = { realDurationInSamples, realDurationInSamples, int SAM_ARRAY[] = { (int)realDurationInSamples, (int)realDurationInSamples,
realDurationInSamples }; (int)realDurationInSamples };
write(SAM_ARRAY, 3); write(SAM_ARRAY, 3);
write(0); write(0);
write(SUB); write(SUB);
@ -409,7 +409,7 @@ static void writeEvents(const std::vector<CompositeEvent>& events) {
uint32_t prevTs = 0; uint32_t prevTs = 0;
int deltaCount = 0; int deltaCount = 0;
for (int i = 0; i < count; i++) { for (size_t i = 0; i < count; i++) {
const CompositeEvent* event = &events[i]; const CompositeEvent* event = &events[i];
int chState = getChannelState(ch, event); int chState = getChannelState(ch, event);