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
This commit is contained in:
avolkov
2009-12-28 12:53:13 +00:00
parent 80f101bc9e
commit aa3932bd5f
+1 -1
View File
@@ -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))