Skip to content

Commit

Permalink
[APT] Remove redundant cast
Browse files Browse the repository at this point in the history
  • Loading branch information
wheremyfoodat committed Nov 12, 2023
1 parent bd1d7b7 commit aa40eaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/services/apt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ void APTService::receiveParameter(u32 messagePointer) {
// Sender App ID
mem.write32(messagePointer + 8, parameter.senderID);
// Command
mem.write32(messagePointer + 12, static_cast<u32>(parameter.signal));
mem.write32(messagePointer + 12, parameter.signal);
// Size of parameter data
mem.write32(messagePointer + 16, parameter.data.size());
mem.write32(messagePointer + 20, 0x10);
Expand Down

0 comments on commit aa40eaf

Please sign in to comment.