From 7b78a5a287827db9e9b16286f3604aef69b37c5c Mon Sep 17 00:00:00 2001 From: Leo C Date: Mon, 17 Nov 2014 14:47:05 +0100 Subject: Import fatfs R0.10c --- fatfs/src/option/cc950.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fatfs/src/option/cc950.c') diff --git a/fatfs/src/option/cc950.c b/fatfs/src/option/cc950.c index a3c9c44..d914b6d 100644 --- a/fatfs/src/option/cc950.c +++ b/fatfs/src/option/cc950.c @@ -6791,10 +6791,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--) { -- cgit v1.2.3