From 7440acb3c0e7a3dac3d939bbeecfb14c68712eea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20K=C3=B6fferlein?= Date: Fri, 7 Sep 2018 23:40:01 +0200 Subject: [PATCH] Fixed a build warning --- src/pya/pya/pyaModule.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pya/pya/pyaModule.cc b/src/pya/pya/pyaModule.cc index 893e88b0c..9670a0736 100644 --- a/src/pya/pya/pyaModule.cc +++ b/src/pya/pya/pyaModule.cc @@ -2709,7 +2709,7 @@ PythonModule::make_classes (const char *mod_name) } else if (name == "__mul__") { // Adding right multiplication // Rationale: if pyaObj * x works, so should x * pyaObj - add_python_doc (*c, mt, mid, tl::to_string (tr ("This method is also available as '__mul__'"))); + add_python_doc (*c, mt, int (mid), tl::to_string (tr ("This method is also available as '__mul__'"))); alt_names.push_back ("__rmul__"); }