Type casting for Int64 vars