aboutsummaryrefslogtreecommitdiff
path: root/src/balutil/balutil.cpp
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-04-27 22:26:16 -0500
committerSean Hall <r.sean.hall@gmail.com>2021-04-29 14:40:09 -0500
commit8deeffb615244c62a0c94ea99d01ece88b1caf09 (patch)
treef28b80cc68fbcbd1a987d101bfdd305cec2a7fea /src/balutil/balutil.cpp
parent11fe2c881d182f9caff28bd9ff08c2e4fe513989 (diff)
downloadwix-8deeffb615244c62a0c94ea99d01ece88b1caf09.tar.gz
wix-8deeffb615244c62a0c94ea99d01ece88b1caf09.tar.bz2
wix-8deeffb615244c62a0c94ea99d01ece88b1caf09.zip
Integrate size_t and OnPlanPackageBegin changes in Burn headers.
Diffstat (limited to 'src/balutil/balutil.cpp')
-rw-r--r--src/balutil/balutil.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/balutil/balutil.cpp b/src/balutil/balutil.cpp
index faca70f5..7a638219 100644
--- a/src/balutil/balutil.cpp
+++ b/src/balutil/balutil.cpp
@@ -96,7 +96,7 @@ DAPI_(HRESULT) BalFormatString(
96 ) 96 )
97{ 97{
98 HRESULT hr = S_OK; 98 HRESULT hr = S_OK;
99 DWORD cch = 0; 99 SIZE_T cch = 0;
100 100
101 if (!vpEngine) 101 if (!vpEngine)
102 { 102 {
@@ -106,7 +106,7 @@ DAPI_(HRESULT) BalFormatString(
106 106
107 if (*psczOut) 107 if (*psczOut)
108 { 108 {
109 hr = StrMaxLength(*psczOut, reinterpret_cast<DWORD_PTR*>(&cch)); 109 hr = StrMaxLength(*psczOut, &cch);
110 ExitOnFailure(hr, "Failed to determine length of value."); 110 ExitOnFailure(hr, "Failed to determine length of value.");
111 } 111 }
112 112
@@ -172,7 +172,7 @@ DAPI_(BOOL) BalVariableExists(
172 ) 172 )
173{ 173{
174 HRESULT hr = S_OK; 174 HRESULT hr = S_OK;
175 DWORD cch = 0; 175 SIZE_T cch = 0;
176 176
177 if (!vpEngine) 177 if (!vpEngine)
178 { 178 {
@@ -194,7 +194,7 @@ DAPI_(HRESULT) BalGetStringVariable(
194 ) 194 )
195{ 195{
196 HRESULT hr = S_OK; 196 HRESULT hr = S_OK;
197 DWORD cch = 0; 197 SIZE_T cch = 0;
198 198
199 if (!vpEngine) 199 if (!vpEngine)
200 { 200 {
@@ -204,7 +204,7 @@ DAPI_(HRESULT) BalGetStringVariable(
204 204
205 if (*psczValue) 205 if (*psczValue)
206 { 206 {
207 hr = StrMaxLength(*psczValue, reinterpret_cast<DWORD_PTR*>(&cch)); 207 hr = StrMaxLength(*psczValue, &cch);
208 ExitOnFailure(hr, "Failed to determine length of value."); 208 ExitOnFailure(hr, "Failed to determine length of value.");
209 } 209 }
210 210