From 65f3f30ff95bbc183a2a562a53e1b9876b5d475f Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Thu, 25 May 2006 08:14:30 +0000 Subject: [PATCH] 64-bit fixes. Patch from Andreas Fredriksson. [SVN r34086] --- historic/jam/src/pathunix.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/historic/jam/src/pathunix.c b/historic/jam/src/pathunix.c index 94391c3e2..725a51f5f 100644 --- a/historic/jam/src/pathunix.c +++ b/historic/jam/src/pathunix.c @@ -287,11 +287,11 @@ path_parent( PATHNAME *f ) DWORD ShortPathToLongPath(LPCTSTR lpszShortPath,LPTSTR lpszLongPath,DWORD cchBuffer) { - DWORD i=0; + LONG i=0; TCHAR path[_MAX_PATH]={0}; TCHAR ret[_MAX_PATH]={0}; - DWORD pos=0, prev_pos=0; - DWORD len=_tcslen(lpszShortPath); + LONG pos=0, prev_pos=0; + LONG len=_tcslen(lpszShortPath); /* Is the string valid? */ if (!lpszShortPath) {