mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Fix x11_window field type in set_parent struct
This needs to have the same size on all platforms, I didn't realize that `clap_xwnd` used longs.
This commit is contained in:
@@ -272,7 +272,9 @@ struct SetParent {
|
||||
native_size_t instance_id;
|
||||
|
||||
// We only support X11 right now, so we can simplify this a little
|
||||
clap_xwnd x11_window;
|
||||
// NOTE: This should be a `clap_xwnd`, but that's defined as an `unsigned
|
||||
// long` which is 32-bit on Windows and 64-bit on Linux
|
||||
uint64_t x11_window;
|
||||
|
||||
template <typename S>
|
||||
void serialize(S& s) {
|
||||
|
||||
Reference in New Issue
Block a user