Skip to content

Commit

Permalink
Use Cil.isIntegralType in extractPthread analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Oct 28, 2024
1 parent 28dc22b commit 77457e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analyses/extractPthread.ml
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ end
module Variable = struct
type t = varinfo

let is_integral v = match v.vtype with TInt _ -> true | _ -> false
let is_integral v = isIntegralType v.vtype

let is_global v = v.vglob

Expand Down

0 comments on commit 77457e4

Please sign in to comment.