Skip to content
  • Nick Mathewson's avatar
    kist: Cast, then do operations on int32. · a01e4a1a
    Nick Mathewson authored
    Otherwise integer overflows can happen.  Remember, doing a i32xi32
    multiply doesn't actually produce a 64-bit output.  You need to do
    i64xi32 or i64xi64.
    
    Coverity found this as CID 1417753
    a01e4a1a