aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/base/ebase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/base/ebase.cpp b/lib/base/ebase.cpp
index bcfab61c..724e9dca 100644
--- a/lib/base/ebase.cpp
+++ b/lib/base/ebase.cpp
@@ -439,8 +439,8 @@ eTimerPy_start(eTimerPy* self, PyObject *args)
static PyObject *
eTimerPy_start_long(eTimerPy* self, PyObject *args)
{
- long v=0;
- if (!PyArg_ParseTuple(args, "l", &v)) {
+ int v=0;
+ if (!PyArg_ParseTuple(args, "i", &v)) {
return NULL;
}
self->tm->startLongTimer(v);