Skip to content

Commit f27825a

Browse files
committed
Deal with OIIO deprecations (1844)
Signed-off-by: Larry Gritz <[email protected]>
1 parent f19fc76 commit f27825a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/liboslexec/batched_llvm_gen.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2918,7 +2918,8 @@ LLVMGEN(llvm_gen_filterwidth)
29182918
}
29192919

29202920
rop.ll.call_function(rop.build_name(func_spec),
2921-
{ &args[0], argCount });
2921+
{ &args[0],
2922+
cspan<llvm::Value*>::size_type(argCount) });
29222923
// Don't have 2nd order derivs
29232924
rop.llvm_zero_derivs(Result);
29242925
}
@@ -6923,7 +6924,9 @@ LLVMGEN(llvm_gen_calculatenormal)
69236924
args[arg_count++] = rop.ll.mask_as_int(rop.ll.current_mask());
69246925
func_spec.mask();
69256926
}
6926-
rop.ll.call_function(rop.build_name(func_spec), { &args[0], arg_count });
6927+
rop.ll.call_function(rop.build_name(func_spec),
6928+
{ &args[0],
6929+
cspan<llvm::Value*>::size_type(arg_count) });
69276930

69286931
if (Result.has_derivs())
69296932
rop.llvm_zero_derivs(Result);

0 commit comments

Comments
 (0)