diff options
Diffstat (limited to '')
-rw-r--r-- | src/dutil/pathutil.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dutil/pathutil.cpp b/src/dutil/pathutil.cpp index c508dd32..d8894756 100644 --- a/src/dutil/pathutil.cpp +++ b/src/dutil/pathutil.cpp | |||
@@ -328,7 +328,7 @@ DAPI_(HRESULT) PathPrefix( | |||
328 | 328 | ||
329 | HRESULT hr = S_OK; | 329 | HRESULT hr = S_OK; |
330 | LPWSTR wzFullPath = *psczFullPath; | 330 | LPWSTR wzFullPath = *psczFullPath; |
331 | DWORD_PTR cbFullPath = 0; | 331 | SIZE_T cbFullPath = 0; |
332 | 332 | ||
333 | if (((L'a' <= wzFullPath[0] && L'z' >= wzFullPath[0]) || | 333 | if (((L'a' <= wzFullPath[0] && L'z' >= wzFullPath[0]) || |
334 | (L'A' <= wzFullPath[0] && L'Z' >= wzFullPath[0])) && | 334 | (L'A' <= wzFullPath[0] && L'Z' >= wzFullPath[0])) && |
@@ -365,7 +365,7 @@ LExit: | |||
365 | 365 | ||
366 | DAPI_(HRESULT) PathFixedBackslashTerminate( | 366 | DAPI_(HRESULT) PathFixedBackslashTerminate( |
367 | __inout_ecount_z(cchPath) LPWSTR wzPath, | 367 | __inout_ecount_z(cchPath) LPWSTR wzPath, |
368 | __in DWORD_PTR cchPath | 368 | __in SIZE_T cchPath |
369 | ) | 369 | ) |
370 | { | 370 | { |
371 | HRESULT hr = S_OK; | 371 | HRESULT hr = S_OK; |
@@ -396,7 +396,7 @@ DAPI_(HRESULT) PathBackslashTerminate( | |||
396 | Assert(psczPath && *psczPath); | 396 | Assert(psczPath && *psczPath); |
397 | 397 | ||
398 | HRESULT hr = S_OK; | 398 | HRESULT hr = S_OK; |
399 | DWORD_PTR cchPath = 0; | 399 | SIZE_T cchPath = 0; |
400 | size_t cchLength = 0; | 400 | size_t cchLength = 0; |
401 | 401 | ||
402 | hr = StrMaxLength(*psczPath, &cchPath); | 402 | hr = StrMaxLength(*psczPath, &cchPath); |