Fix compilation error.

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1007 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2004-07-25 07:20:23 +00:00
parent cd85d78739
commit 7c861194f8

View File

@ -543,9 +543,10 @@ UBYTE FcbRename(xfcb FAR * lpXfcb)
fcb LocalFcb;
BYTE *pToName;
const BYTE FAR *pFromPattern = Dmatch.dm_name;
int i = 0;
int i;
UBYTE mode = 0;
FcbParseFname(&i, pFromPattern, &LocalFcb);
FcbParseFname(&mode, pFromPattern, &LocalFcb);
/* Overlay the pattern, skipping '?' */
/* I'm cheating because this assumes that the */
/* struct alignments are on byte boundaries */