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:
@@ -76,7 +76,7 @@ DrawOscilloscope (void)
|
|||||||
if (oscillDisabled)
|
if (oscillDisabled)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
assert (scopeSize.width <= sizeof scope_data);
|
assert ((size_t)scopeSize.width <= sizeof scope_data);
|
||||||
assert (scopeSize.height < 256);
|
assert (scopeSize.height < 256);
|
||||||
|
|
||||||
if (GraphForegroundStream (scope_data, scopeSize.width, scopeSize.height))
|
if (GraphForegroundStream (scope_data, scopeSize.width, scopeSize.height))
|
||||||
|
|||||||
Reference in New Issue
Block a user