title: How convert a long to int in Java vs. swift?
body: <p>I have try to convert this code in Java to swift 2.0</p>
  
  <pre><code>long checksumValue = 4253726258L;
  int liCrc32 = (int)checksumValue;
  System.out.println("liCrc32" + liCrc32)
  </code></pre>
  
  <p>LiCrc32 is equal to -41241038</p>
  
  <p>My swift version</p>
  
  <pre><code>let int64: Int64 = 4253726258
  let a:Int = Int(int64)
  </code></pre>
  
  <p>a returns me 4253726258</p>
  
  <p>What i don't understand why in Java the value is negative?</p>