summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2013-02-12 18:36:15 +0100
committerJohns <johns98@gmx.net>2013-02-12 18:36:15 +0100
commitee78297e6e6ea8a11df476f1fa688f8d4718ba66 (patch)
treed6e2016ab2f5e9103681ec945ab61708c3781aa6
parentb99a066272fff70749b2fe76d3fb11f37b4da5e8 (diff)
downloadvdr-plugin-play-ee78297e6e6ea8a11df476f1fa688f8d4718ba66.tar.gz
vdr-plugin-play-ee78297e6e6ea8a11df476f1fa688f8d4718ba66.tar.bz2
Removes compiler warnings.
-rw-r--r--video.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/video.c b/video.c
index 4c1d4ff..73f819d 100644
--- a/video.c
+++ b/video.c
@@ -1,7 +1,7 @@
///
/// @file video.c @brief Video module
///
-/// Copyright (c) 2012 by Johns. All Rights Reserved.
+/// Copyright (c) 2012, 2013 by Johns. All Rights Reserved.
///
/// Contributor(s):
///
@@ -185,7 +185,8 @@ void VideoDrawARGB(int x, int y, int width, int height, const uint8_t * argb)
return;
}
- if (x + y < 1 && height == VideoWindowHeight && width == VideoWindowWidth) {
+ if (x + y < 1 && (unsigned)height == VideoWindowHeight
+ && (unsigned)width == VideoWindowWidth) {
fs = 1;
} else {
fs = 0;