X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/5366852335044c1e68a5c32548d3051cc943552f..7b78a5a287827db9e9b16286f3604aef69b37c5c:/fatfs/src/option/cc936.c?ds=inline diff --git a/fatfs/src/option/cc936.c b/fatfs/src/option/cc936.c index 07a7c1c..84bc329 100644 --- a/fatfs/src/option/cc936.c +++ b/fatfs/src/option/cc936.c @@ -10936,10 +10936,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--) {