Use sizeof

This commit is contained in:
Liam Minopulos 2019-02-28 08:57:07 +01:00
parent 3c72170135
commit 6b94e5ff99

View File

@ -23,7 +23,7 @@ void errorShow(ErrorConfig* c) {
appletCreateLibraryApplet(&err, AppletId_error, LibAppletMode_AllForeground); appletCreateLibraryApplet(&err, AppletId_error, LibAppletMode_AllForeground);
libappletArgsCreate(&errArgs, 1); libappletArgsCreate(&errArgs, 1);
libappletArgsPush(&errArgs, &err); libappletArgsPush(&errArgs, &err);
libappletPushInData(&err, c, 0x1018); libappletPushInData(&err, c, sizeof(ErrorConfig));
appletHolderStart(&err); appletHolderStart(&err);
appletHolderJoin(&err); appletHolderJoin(&err);