X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/68ee7c47300b37e408ef9a04ec9f83af78e90817..579d7d131680a00603df4ab0f374975bf0b098a0:/src/common/variant.cpp?ds=inline

diff --git a/src/common/variant.cpp b/src/common/variant.cpp
index a3ee8bf67f..a8ab35073d 100644
--- a/src/common/variant.cpp
+++ b/src/common/variant.cpp
@@ -387,7 +387,7 @@ bool wxVariantDataLong::Write(wxOutputStream& str) const
 {
     wxTextOutputStream s(str);
 
-    s.Write32(m_value);
+    s.Write32((size_t)m_value);
     return TRUE;
 }