Skip to content

Commit 36e8747

Browse files
committed
Update NWC24FileApi.c
1 parent 0d1587c commit 36e8747

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/revolution/NWC24/NWC24FileApi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ NWC24Err NWC24FWrite(const void* pSrc, s32 size, NWC24File* pFile) {
311311
}
312312

313313
if (pFile->mode & NWC24_OPEN_VF) {
314-
result = VFWriteFile(pFile->vff, pSrc, size);
314+
result = VFWriteFile(pFile->vff, (void*)pSrc, size);
315315
if (result != VF_OK) {
316316
return ConvertVfError(result, NWC24_ERR_FILE_WRITE);
317317
}

0 commit comments

Comments
 (0)