3DS: Fix build

This commit is contained in:
Vicki Pfau 2023-05-29 00:53:38 -07:00
parent d432ec34e1
commit 46c44120c9
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ bool mUpdateLoad(const struct mCoreConfig* config, const char* prefix, struct mU
snprintf(key, sizeof(key), "%s.path", prefix); snprintf(key, sizeof(key), "%s.path", prefix);
update->path = mCoreConfigGetValue(config, key); update->path = mCoreConfigGetValue(config, key);
snprintf(key, sizeof(key), "%s.size", prefix); snprintf(key, sizeof(key), "%s.size", prefix);
uint32_t size = 0; unsigned size = 0;
mCoreConfigGetUIntValue(config, key, &size); mCoreConfigGetUIntValue(config, key, &size);
if (!update->path && !size) { if (!update->path && !size) {
return false; return false;