From b8a040606b0ab38fdc5b8949d02eff60a82e5eb3 Mon Sep 17 00:00:00 2001 From: bsongis Date: Tue, 30 Oct 2012 20:29:44 +0000 Subject: [PATCH] [sky9x] Compilation problem (thanks Hendrix!) --- src/sky9x/diskio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sky9x/diskio.cpp b/src/sky9x/diskio.cpp index aebf7e663..97e37f354 100644 --- a/src/sky9x/diskio.cpp +++ b/src/sky9x/diskio.cpp @@ -1390,7 +1390,7 @@ DRESULT disk_ioctl ( break; case GET_SECTOR_COUNT : /* Get number of sectors on the disk (DWORD) */ - *DWORD*)buff = SD_GET_BLOCKNR(); + *(DWORD*)buff = SD_GET_BLOCKNR(); res = RES_OK; break;