We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce62c97 commit 4c8ba0aCopy full SHA for 4c8ba0a
src/cdomains/unionFind.ml
@@ -226,7 +226,7 @@ module T = struct
226
let offset_to_index ?typ offset =
227
let ptr_diff_ikind = Cilfacade.ptrdiff_ikind () in
228
let offset_in_bytes = PreValueDomain.Offs.to_index ?typ offset in
229
- let bytes_to_bits = IntDomain.of_const (Z.of_int 8, ptr_diff_ikind, None) in
+ let bytes_to_bits = IntDomain.IntDomTuple.of_int ptr_diff_ikind (Z.of_int 8) in
230
IntDomain.IntDomTuple.mul bytes_to_bits offset_in_bytes
231
232
(** Convert a Cil offset to an integer offset. *)
0 commit comments