diff --git a/dlls/msvcrt/dir.c b/dlls/msvcrt/dir.c index ef32d046f51..9c91a3cc7ed 100644 --- a/dlls/msvcrt/dir.c +++ b/dlls/msvcrt/dir.c @@ -587,7 +587,7 @@ static void wmsvcrt_fln_fix(MSVCRT_wchar_t *path) /********************************************************************* * _wfullpath (MSVCRT.@) */ -MSVCRT_wchar_t *_wfullpath(MSVCRT_wchar_t * absPath, const MSVCRT_wchar_t* relPath, unsigned int size) +MSVCRT_wchar_t *_wfullpath(MSVCRT_wchar_t * absPath, const MSVCRT_wchar_t* relPath, MSVCRT_size_t size) { MSVCRT_wchar_t drive[5],dir[MAX_PATH],file[MAX_PATH],ext[MAX_PATH]; MSVCRT_wchar_t res[MAX_PATH]; diff --git a/include/msvcrt/stdlib.h b/include/msvcrt/stdlib.h index 7b640a2fb1c..35a90364a47 100644 --- a/include/msvcrt/stdlib.h +++ b/include/msvcrt/stdlib.h @@ -203,7 +203,7 @@ MSVCRT(wchar_t)*_i64tow(__int64,MSVCRT(wchar_t)*,int); MSVCRT(wchar_t)*_ltow(long,MSVCRT(wchar_t)*,int); MSVCRT(wchar_t)*_ui64tow(unsigned __int64,MSVCRT(wchar_t)*,int); MSVCRT(wchar_t)*_ultow(unsigned long,MSVCRT(wchar_t)*,int); -MSVCRT(wchar_t)*_wfullpath(MSVCRT(wchar_t)*,const MSVCRT(wchar_t)*,size_t); +MSVCRT(wchar_t)*_wfullpath(MSVCRT(wchar_t)*,const MSVCRT(wchar_t)*,MSVCRT(size_t)); MSVCRT(wchar_t)*_wgetenv(const MSVCRT(wchar_t)*); void _wmakepath(MSVCRT(wchar_t)*,const MSVCRT(wchar_t)*,const MSVCRT(wchar_t)*,const MSVCRT(wchar_t)*,const MSVCRT(wchar_t)*); void _wperror(const MSVCRT(wchar_t)*);