summaryrefslogtreecommitdiff
path: root/detailview.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-11-01 09:55:26 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-11-01 10:13:30 +0100
commit72f3a54725f0a516ee5d47e3ec60f962c3373797 (patch)
treef92b46ac0ef3be77a7b7230a9368c2dd92a70f7a /detailview.c
parent2f97c691627fa7c5c336dbf99a55374698f5f65f (diff)
downloadskin-nopacity-72f3a54725f0a516ee5d47e3ec60f962c3373797.tar.gz
skin-nopacity-72f3a54725f0a516ee5d47e3ec60f962c3373797.tar.bz2
Eliminate some warnings
Diffstat (limited to 'detailview.c')
-rw-r--r--detailview.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/detailview.c b/detailview.c
index 6b7f266..d3f37c8 100644
--- a/detailview.c
+++ b/detailview.c
@@ -232,7 +232,7 @@ void cNopacityView::CreateFloatingTextWrapper(cTextWrapper *twNarrow, cTextWrapp
std::stringstream sstrTextTall;
std::stringstream sstrTextFull;
- for (int i=0; i<flds.size(); i++) {
+ for (long unsigned int i = 0; i < flds.size(); i++) {
if (!flds[i].size()) {
//empty line
linesDrawn++;
@@ -306,7 +306,7 @@ void cNopacityView::DrawActors(std::vector<cActor> *actors) {
int y = 2 * border + fontHeaderLarge->Height();
if (!Running())
return;
- cImageLoader imgLoader;
+ cImageLoader imgLoader;
int actor = 0;
for (int row = 0; row < picLines; row++) {
for (int col = 0; col < picsPerLine; col++) {
@@ -377,7 +377,7 @@ bool cNopacityView::KeyUp(void) {
if (!scrollable)
return false;
int aktHeight = pixmapContent->DrawPort().Point().Y();
- int lineHeight = font->Height();
+// int lineHeight = font->Height();
if (aktHeight >= 0) {
return false;
}