Const-correctness

This commit is contained in:
The Dax 2019-06-03 19:38:20 -04:00
parent f739addc81
commit 808130ad6b
2 changed files with 2 additions and 2 deletions

View File

@ -186,4 +186,4 @@ Result setsysGetDeviceNickname(char* buffer);
* @brief Sets the system's nickname. * @brief Sets the system's nickname.
* @param buffer Pointer to read the nickname from. (The buffer size needs to be at least 0x80 bytes) * @param buffer Pointer to read the nickname from. (The buffer size needs to be at least 0x80 bytes)
*/ */
Result setsysSetDeviceNickname(char* buffer); Result setsysSetDeviceNickname(const char* buffer);

View File

@ -720,7 +720,7 @@ Result setsysGetDeviceNickname(char* buffer) {
return rc; return rc;
} }
Result setsysSetDeviceNickname(char* buffer) { Result setsysSetDeviceNickname(const char* buffer) {
IpcCommand c; IpcCommand c;
ipcInitialize(&c); ipcInitialize(&c);