mirror of
https://git.uzuy-edge.org/Uzuy-Edge/Uzuy
synced 2024-11-26 23:40:30 +00:00
fix: resolve narrowing conversion issue in mm_u.cpp
- Added explicit cast to address narrowing conversion warning in the initializer list for `IPC::ResponseBuilder`. - Ensured compatibility with strict type conversion requirements.
This commit is contained in:
parent
e478b4b441
commit
651e8960f7
@ -78,7 +78,7 @@ private:
|
||||
request_id = rp.Pop<u32>();
|
||||
}
|
||||
|
||||
IPC::ResponseBuilder rb{ctx, extra_data ? 3 : 2};
|
||||
IPC::ResponseBuilder rb{ctx, static_cast<u32>(extra_data ? 3 : 2)};
|
||||
rb.Push(result);
|
||||
if (extra_data != 0) {
|
||||
rb.Push(extra_data);
|
||||
|
Loading…
Reference in New Issue
Block a user