diff options
author | Bob Arnson <bob@firegiant.com> | 2020-11-29 18:57:55 -0500 |
---|---|---|
committer | Bob Arnson <bob@firegiant.com> | 2020-12-26 22:08:07 -0500 |
commit | 0ae3b1e7b5c0beff0fcfb82728c5bf9f25aee250 (patch) | |
tree | a8c4cf37f7bcf103db5892c842cb4211ca3ee779 /src/dutil/pathutil.cpp | |
parent | 6554b42e999c8ff2cf20361a7dd7ec500723ec71 (diff) | |
download | wix-0ae3b1e7b5c0beff0fcfb82728c5bf9f25aee250.tar.gz wix-0ae3b1e7b5c0beff0fcfb82728c5bf9f25aee250.tar.bz2 wix-0ae3b1e7b5c0beff0fcfb82728c5bf9f25aee250.zip |
More size_t-ification.
Diffstat (limited to 'src/dutil/pathutil.cpp')
-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); |