summaryrefslogtreecommitdiff
path: root/src/libs/xpcom18a4/python/src/VariantUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/xpcom18a4/python/src/VariantUtils.cpp')
-rw-r--r--src/libs/xpcom18a4/python/src/VariantUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/xpcom18a4/python/src/VariantUtils.cpp b/src/libs/xpcom18a4/python/src/VariantUtils.cpp
index 0c864ec4..cc050b5f 100644
--- a/src/libs/xpcom18a4/python/src/VariantUtils.cpp
+++ b/src/libs/xpcom18a4/python/src/VariantUtils.cpp
@@ -1116,7 +1116,7 @@ PRBool PyXPCOM_InterfaceVariantHelper::Init(PyObject *obParams)
if (PySequence_Length(m_pyparams) != total_params_needed) {
#ifdef VBOX
PyErr_Format(PyExc_ValueError, "The type descriptions indicate %d args are needed, but %ld were provided",
- total_params_needed, PySequence_Length(m_pyparams));
+ total_params_needed, (long)PySequence_Length(m_pyparams));
#else
PyErr_Format(PyExc_ValueError, "The type descriptions indicate %d args are needed, but %d were provided",
total_params_needed, PySequence_Length(m_pyparams));