freebsd-ports/sysutils/xlogmaster/files/patch-alert.cc
2007-08-12 17:17:18 +00:00

11 lines
306 B
C++

--- alert.cc.org 2007-07-16 14:54:21.000000000 +0200
+++ src/alert.cc 2007-07-16 14:54:48.000000000 +0200
@@ -102,7 +102,7 @@
int
alert_interrupt(gpointer data)
{
- int nr = (int) data;
+ long nr = (long) data;
entry[nr]->fade += entry[nr]->fadestep;
if ( entry[nr]->fade > fade_base )
{