fix: Message dispatching related build issues
This commit is contained in:
parent
24e7c2f3db
commit
f5515417d6
@ -29,7 +29,7 @@ namespace hex::messaging {
|
||||
int fifo = open(CommunicationPipePath, O_WRONLY);
|
||||
if (fifo < 0) return;
|
||||
|
||||
::write(fifo, data, dataSize);
|
||||
std::ignore = ::write(fifo, data, dataSize);
|
||||
close(fifo);
|
||||
}
|
||||
|
||||
|
@ -74,7 +74,9 @@ namespace hex {
|
||||
if (message == nullptr)
|
||||
break;
|
||||
|
||||
EventNativeMessageReceived::post(std::vector<u8>(message->lpData, message->lpData + message->cbData));
|
||||
const auto data = reinterpret_cast<const u8*>(message->lpData);
|
||||
const auto size = message->cbData;
|
||||
EventNativeMessageReceived::post(std::vector<u8>(data, data + size));
|
||||
break;
|
||||
}
|
||||
case WM_SETTINGCHANGE: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user