summaryrefslogtreecommitdiff
path: root/include/storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/storage.h')
-rw-r--r--include/storage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/storage.h b/include/storage.h
index 9789a33..f43942d 100644
--- a/include/storage.h
+++ b/include/storage.h
@@ -56,7 +56,7 @@ typedef struct Storage {
#define StorageRead(storage, data, length, offset) ({(storage).result = CARDRead(&(storage).info, data, length, offset);})
#define StorageWrite(storage, data, length, offset) ({(storage).result = CARDWrite(&(storage).info, data, length, offset);})
#else // WII_PLATFORM
-#define StorageCreate(ch, fileName, size, fileBuffer) NANDCreate(fileName, 0x34, 0)
+#define StorageCreate(ch, fileName, size, fileBuffer) ({(void)size; (void)fileBuffer; NANDCreate(fileName, 0x34, 0);})
#define StorageDelete(ch, fileName) NANDDelete(fileName)
#define StorageOpen(ch, fileName, fileInfo, mode) NANDOpen(fileName, fileInfo, mode)
#define StorageClose(fileInfo) NANDClose(fileInfo)