Swift 3 and Xcode8 - Ambiguous use of init
<p>Before I installed Xcode 8 and converted project to Swift 3, the following line was fine. Now after conversion it looks like this:</p>

<pre><code>let valueData:Data = Data(bytes: UnsafePointer&lt;UInt8&gt;(&amp;intVal), count: sizeof(NSInteger))
</code></pre>

<p>it shows the error</p>

<blockquote>
  <p>Ambiguous use of 'init'</p>
</blockquote>

<p>what is wrong with it in Swift 3? How to fix it?</p>