mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 02:22:15 +02:00
ipc.h: fix BufferType invalid conversion (c++)
This commit is contained in:
parent
3a8a9d7c26
commit
0801dc5f09
@ -395,7 +395,7 @@ static inline Result ipcParse(IpcParsedCommand* r) {
|
||||
|
||||
r->Buffers[i] = (void*) (desc->Addr | ((packed >> 28) << 32) | (((packed >> 2) & 15) << 36));
|
||||
r->BufferSizes[i] = desc->Size;
|
||||
r->BufferTypes[i] = packed & 3;
|
||||
r->BufferTypes[i] = (BufferType) (packed & 3);
|
||||
|
||||
if (i < num_bufs_send)
|
||||
r->BufferDirections[i] = BufferDirection_Send;
|
||||
|
Loading…
Reference in New Issue
Block a user