From ee78297e6e6ea8a11df476f1fa688f8d4718ba66 Mon Sep 17 00:00:00 2001 From: Johns Date: Tue, 12 Feb 2013 18:36:15 +0100 Subject: Removes compiler warnings. --- video.c | 5 +++-- 1 file 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; -- cgit v1.2.3