mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 12:10:09 +02:00
Always use 64-bit pointer types for serialization
This way the 32-bit host can cast them down to 32-bit integers when needed, and the serialization pipeline can stay fixed. We're not passing any pointers directly to the other application anyway so this should be safe!
This commit is contained in:
@@ -176,7 +176,9 @@ void Logger::log_event(bool is_dispatch,
|
||||
[&](const std::vector<uint8_t>& buffer) {
|
||||
message << "<" << buffer.size() << " byte chunk>";
|
||||
},
|
||||
[&](const intptr_t&) { message << "<nullptr>"; },
|
||||
[&](const native_size_t& window_id) {
|
||||
message << "<window " << window_id << ">";
|
||||
},
|
||||
[&](const AEffect&) { message << "<nullptr>"; },
|
||||
[&](const DynamicVstEvents& events) {
|
||||
message << "<" << events.events.size() << " midi_events>";
|
||||
|
||||
Reference in New Issue
Block a user