From 6ad405d90f97ce153679b2f6d8b5012902694e02 Mon Sep 17 00:00:00 2001 From: Royce Mitchell III Date: Mon, 12 Sep 2005 19:58:34 +0000 Subject: [PATCH] fix breakage - sorry svn path=/trunk/; revision=17822 --- reactos/subsys/system/cmd/internal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/subsys/system/cmd/internal.c b/reactos/subsys/system/cmd/internal.c index 864261a5144..bf2d2fd0d1d 100644 --- a/reactos/subsys/system/cmd/internal.c +++ b/reactos/subsys/system/cmd/internal.c @@ -276,7 +276,7 @@ INT cmd_chdir (LPTSTR cmd, LPTSTR param) TCHAR * tmpPath; TCHAR szCurrent[MAX_PATH]; TCHAR szMsg[RC_STRING_MAX_SIZE]; - UINT i; + INT i; /* Filter out special cases first */ @@ -329,7 +329,7 @@ INT cmd_chdir (LPTSTR cmd, LPTSTR param) /* Remove " */ i = 0; - while(i < _tcslen(szPath)) + while(i < (INT)_tcslen(szPath)) { if(szPath[i] == _T('\"')) memmove(&szPath[i],&szPath[i + 1], _tcslen(&szPath[i]) * sizeof(TCHAR));