configurator: Fix compiler warning with compare
authorKevin Locke <kevin@kevinlocke.name>
Fri, 23 Sep 2016 03:33:10 +0000 (21:33 -0600)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 27 Sep 2016 05:39:45 +0000 (15:39 +1000)
commit563ec0870cee828240b9f2112f5bd31284e31448
treea093518274d5a40b128b78b102e3c3ff2a42fe75
parentf3b3bedfb23096f050cfb6142a66c1687ea53b9b
configurator: Fix compiler warning with compare

Visual Studio prints warning C4706 "assignment within conditional
expression" when there is an assignment without a comparison in a
conditional expression.  Therefore, to silence the warning, add an
explicit comparison.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
tools/configurator/configurator.c