--- a/src/hugin_script_interface/hpi_classes.cpp
+++ b/src/hugin_script_interface/hpi_classes.cpp
@@ -127,7 +127,7 @@
 PyObject* python_arglist::make_hsi_object ( const char* hsi_type ,
                             void* hugin_value )
 {
-    SWIGRUNTIME swig_type_info* swigtype = SWIG_Python_TypeQuery ( hsi_type );
+    swig_type_info* swigtype = SWIG_Python_TypeQuery ( hsi_type );
 #ifdef HPI_VERBOSE
     fprintf ( stdout ,
                 "HPI: making a %s from %p\n" ,