Commit 2c940ab8 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Skins2: avoid integer overflow

parent 3de20de7
......@@ -49,7 +49,7 @@ X11Timer::~X11Timer()
void X11Timer::start( int delay, bool oneShot )
{
m_interval = 1000 * delay;
m_interval = 1000LL * (mtime_t)delay;
m_oneShot = oneShot;
m_nextDate = mdate() + m_interval;
m_pTimerLoop->addTimer( *this );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment