diff --git a/reactos/subsys/system/cmd/dir.c b/reactos/subsys/system/cmd/dir.c index 3a9a6861e69..4710e7efacf 100644 --- a/reactos/subsys/system/cmd/dir.c +++ b/reactos/subsys/system/cmd/dir.c @@ -262,7 +262,7 @@ DirReadParam(LPTSTR Line, /* [IN] The line with the parameters & switches */ { /* we save current character as it is and its upper case */ cCurChar = *Line; - cCurUChar = _toupper(*Line); + cCurUChar = _totupper(*Line); /* 1st section (see README_DIR.txt) */ /* When a switch is expecting */