summaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-03-23 13:43:37 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-03-23 15:42:41 +0100
commit10f6d90f16835d0c534dca69fa8c32be37b53b8d (patch)
tree86ba9d454c2f41974f5da3befa4f37b91b40256d /view.c
parent168973331cae4a6709d36fbedd590fa79e79aaf1 (diff)
downloadvdr-plugin-tvguide-10f6d90f16835d0c534dca69fa8c32be37b53b8d.tar.gz
vdr-plugin-tvguide-10f6d90f16835d0c534dca69fa8c32be37b53b8d.tar.bz2
Eliminate some warnings
Diffstat (limited to 'view.c')
-rw-r--r--view.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/view.c b/view.c
index e4ca179..8391a2f 100644
--- a/view.c
+++ b/view.c
@@ -122,7 +122,6 @@ void cView::DrawHeader(void) {
//REC Icon
eTimerMatch timerMatch=tmNone;
#if VDRVERSNUM >= 20301
-// LOCK_TIMERS_READ;
const cTimer *ti;
#else
cTimer *ti;
@@ -284,7 +283,7 @@ void cView::CreateFloatingTextWrapper(cTextWrapper *twNarrow, cTextWrapper *twFu
std::stringstream sstrTextTall;
std::stringstream sstrTextFull;
- for (int i=0; i<flds.size(); i++) {
+ for (int i = 0; i < (int)flds.size(); i++) {
if (!flds[i].size()) {
//empty line
linesDrawn++;