aboutsummaryrefslogtreecommitdiff
path: root/src/balutil/balutil.cpp
diff options
context:
space:
mode:
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