summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;