summaryrefslogtreecommitdiff
path: root/watch.c
diff options
context:
space:
mode:
Diffstat (limited to 'watch.c')
-rw-r--r--watch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/watch.c b/watch.c
index 2157e08..7410339 100644
--- a/watch.c
+++ b/watch.c
@@ -201,13 +201,13 @@ void ciMonWatch::shutdown(int nExitMode) {
}
case eOnExitMode_WAKEUP: {
isyslog("iMonLCD: closing, set wakeup time and showing clock.");
- SendCmdClock(t ? t->StartTime() - (theSetup.m_nWakeup * 60) : NULL);
+ SendCmdClock(t ? t->StartTime() - (theSetup.m_nWakeup * 60) : 0);
break;
}
default:
case eOnExitMode_SHOWCLOCK: {
isyslog("iMonLCD: closing, showing clock.");
- SendCmdClock(NULL);
+ SendCmdClock(0);
break;
}
}
@@ -834,7 +834,7 @@ void ciMonWatch::Recording(const cDevice *pDevice, const char *szName, const cha
}
}
else {
- esyslog("iMonLCD: Recording: only up to %d devices are supported by this plugin", memberof(m_nCardIsRecording));
+ esyslog("iMonLCD: Recording: only up to %u devices are supported by this plugin", (unsigned int) memberof(m_nCardIsRecording));
}
}