Skip to content

Commit

Permalink
try to build with emscripten
Browse files Browse the repository at this point in the history
  • Loading branch information
frankosterfeld committed Jun 26, 2023
1 parent 34df479 commit 2ac1e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/data_sink.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ class data_sink : public node<data_sink<T>> {
const auto pre_sample_view = history.last(std::min(pre_samples, history.size()));
dataset.signal_values.insert(dataset.signal_values.end(), pre_sample_view.begin(), pre_sample_view.end());

dataset.timing_events = { { { static_cast<int64_t>(pre_sample_view.size()), *tag_data0 } } };
dataset.timing_events = { { { static_cast<tag_t::signed_index_type>(pre_sample_view.size()), *tag_data0 } } };
pending_trigger_windows.push_back({ .dataset = std::move(dataset), .pending_post_samples = post_samples });
}

Expand Down

0 comments on commit 2ac1e28

Please sign in to comment.