mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-06 03:12:15 +02:00
Use sizeof
This commit is contained in:
parent
3c72170135
commit
6b94e5ff99
@ -23,7 +23,7 @@ void errorShow(ErrorConfig* c) {
|
||||
appletCreateLibraryApplet(&err, AppletId_error, LibAppletMode_AllForeground);
|
||||
libappletArgsCreate(&errArgs, 1);
|
||||
libappletArgsPush(&errArgs, &err);
|
||||
libappletPushInData(&err, c, 0x1018);
|
||||
libappletPushInData(&err, c, sizeof(ErrorConfig));
|
||||
|
||||
appletHolderStart(&err);
|
||||
appletHolderJoin(&err);
|
||||
|
Loading…
Reference in New Issue
Block a user