use long instead of int where pointers are casted
[openblackhole/openblackhole-enigma2.git] / lib / driver / rc.cpp
index 43c1f2b..d943352 100644 (file)
@@ -102,7 +102,7 @@ void eRCInputEventDriver::keyPressed(int)
                        break;
                if (enabled && !input->islocked())
                        for (std::list<eRCDevice*>::iterator i(listeners.begin()); i!=listeners.end(); ++i)
-                               (*i)->handleCode((int)&ev);
+                               (*i)->handleCode((long)&ev);
        }
 }