mirror of
https://github.com/Ryuzaki-MrL/savemii.git
synced 2026-04-25 15:41:31 -05:00
Fix warning
This commit is contained in:
parent
2ebd77eb55
commit
0a8e12385e
|
|
@ -7,7 +7,7 @@ auto doit(char *text) -> char * {
|
|||
|
||||
json = cJSON_Parse(text);
|
||||
if (!json)
|
||||
return "";
|
||||
return (char*)"";
|
||||
else {
|
||||
str = cJSON_GetObjectItemCaseSensitive(json, "Date");
|
||||
out = strdup(str->valuestring);
|
||||
|
|
@ -55,7 +55,7 @@ auto getSlotDate(uint32_t highID, uint32_t lowID, uint8_t slot) -> char * {
|
|||
char *info = dofile(path);
|
||||
return info;
|
||||
} else
|
||||
return "";
|
||||
return (char*)"";
|
||||
}
|
||||
|
||||
auto setSlotDate(uint32_t highID, uint32_t lowID, uint8_t slot, char *date) -> bool {
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
#include <iosuhax.h>
|
||||
#include <iosuhax_devoptab.h>
|
||||
#include <padscore/kpad.h>
|
||||
#include <stdio.h>
|
||||
#include <cstdio>
|
||||
#include <dirent.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user