diff --git a/mParticle-Apple-SDK/Utils/MPIHasher.swift b/mParticle-Apple-SDK/Utils/MPIHasher.swift index 37281ab3..f12d9aa2 100644 --- a/mParticle-Apple-SDK/Utils/MPIHasher.swift +++ b/mParticle-Apple-SDK/Utils/MPIHasher.swift @@ -30,7 +30,7 @@ import Foundation var hash: Int32 = 0 for byte in dataToHash { - hash = ((hash << 5) &- hash) + Int32(byte); + hash = ((hash << 5) &- hash) &+ Int32(byte); } return String(hash)