From aa3932bd5f7a7754824a5b913371d7a9f22832a4 Mon Sep 17 00:00:00 2001 From: avolkov Date: Mon, 28 Dec 2009 12:53:13 +0000 Subject: [PATCH] Get rid of signed/unsigned comparison warning in assert git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3481 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/uqm/oscill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc2/src/uqm/oscill.c b/sc2/src/uqm/oscill.c index 142778716..72736db43 100644 --- a/sc2/src/uqm/oscill.c +++ b/sc2/src/uqm/oscill.c @@ -76,7 +76,7 @@ DrawOscilloscope (void) if (oscillDisabled) return; - assert (scopeSize.width <= sizeof scope_data); + assert ((size_t)scopeSize.width <= sizeof scope_data); assert (scopeSize.height < 256); if (GraphForegroundStream (scope_data, scopeSize.width, scopeSize.height))