title: Cannot convert value of type 'UnsafeRawPointer' to expected argument type 'RawPointer' in Swift5
body: <p>I'm trying to get a device token.</p>
  <ol>
  <li><p>First of all, is this unique value?</p>
  <p>I recognize it as a unique value and try to get it.  And I was following the way to get a device token when I saw an error.</p>
  </li>
  </ol>
  <pre class="lang-swift prettyprint-override"><code>    func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {
          let chars = UnsafePointer&lt;CChar&gt;((deviceToken as NSData).bytes)  // get Error 
          var token = &quot;&quot;
          
          for i in 0..&lt;deviceToken.count {
              token += String(format: &quot;%02.2hhx&quot;, arguments: [chars[i]])
          }
          
          print(&quot;Registration succeeded!&quot;)
          print(&quot;Token: &quot;, token)
      }
  </code></pre>
  <blockquote>
  <p>Error is Cannot convert value of type 'UnsafeRawPointer' to expected
  argument type 'RawPointer'</p>
  </blockquote>
  <p>How can I remove this error?</p>
  <p>And</p>
  <ol start="2">
  <li>is this a value that won't change if you reinstall the app?</li>
  </ol>