summaryrefslogtreecommitdiff
path: root/plugins/Toaster/src/string_reference_wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Toaster/src/string_reference_wrapper.h')
-rw-r--r--plugins/Toaster/src/string_reference_wrapper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Toaster/src/string_reference_wrapper.h b/plugins/Toaster/src/string_reference_wrapper.h
index d272ed14c7..4ce37d5245 100644
--- a/plugins/Toaster/src/string_reference_wrapper.h
+++ b/plugins/Toaster/src/string_reference_wrapper.h
@@ -25,7 +25,7 @@ public:
template <size_t _>
StringReferenceWrapper(_In_reads_(_) wchar_t(&stringRef)[_]) throw()
{
- UINT32 length = wcslen(stringRef);
+ size_t length = wcslen(stringRef);
WindowsCreateStringReference(stringRef, length, &_header, &_hstring);
}