Skip to content

Commit 040708b

Browse files
committed
Fix labels-omitted warning
1 parent 85c632e commit 040708b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/frontc/cabs2cil.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4277,7 +4277,7 @@ and doExp (asconst: bool) (* This expression is used as a constant *)
42774277
if isBuiltinNan && asconst then
42784278
(* Replace call to builtin nan with computation yielding NaN *)
42794279
let onef = Const(CReal(0.0,FDouble,None)) in
4280-
let zerodivzero = mkCast (BinOp(Div,onef,onef,doubleType)) resType in
4280+
let zerodivzero = mkCast ~e:(BinOp(Div,onef,onef,doubleType)) ~newt:resType in
42814281
(empty,zerodivzero,resType)
42824282
else (
42834283
(* If the "--forceRLArgEval" flag was used, make sure

0 commit comments

Comments
 (0)