X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/4bc81323e51ac138e733c14eeb6f283ae706e904..4912667be3154f62d3206a47b6e748b0b6281ae3:/fatfs/src/option/cc949.c?ds=sidebyside diff --git a/fatfs/src/option/cc949.c b/fatfs/src/option/cc949.c index 1fd075d..0abda85 100644 --- a/fatfs/src/option/cc949.c +++ b/fatfs/src/option/cc949.c @@ -8565,10 +8565,10 @@ WCHAR ff_convert ( /* Converted code, 0 means conversion error */ } else { if (dir) { /* OEMCP to unicode */ p = oem2uni; - hi = sizeof(oem2uni) / 4 - 1; + hi = sizeof oem2uni / 4 - 1; } else { /* Unicode to OEMCP */ p = uni2oem; - hi = sizeof(uni2oem) / 4 - 1; + hi = sizeof uni2oem / 4 - 1; } li = 0; for (n = 16; n; n--) {