title: How to cast uint8 to int?
body: <p>Doing <code>int top = uint8(data[2]);</code></p>
  <p>Gives: <code>TypeError: Type uint8 is not implicitly convertible to expected type int256.</code>.</p>
  <p>And doing <code>int top = int(uint8(data[2]));</code></p>
  <p>Gives: <code>TypeError: Explicit type conversion not allowed from &quot;uint8&quot; to &quot;int256&quot;.</code></p>
  <p>I am using pragma ^0.8</p>