mirror of https://github.com/rusefi/rusefi.git
only:trying to help mac compiler
This commit is contained in:
parent
3919fab7b3
commit
a6c112144f
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue