Skip to content

Commit

Permalink
use ptrdiff_t
Browse files Browse the repository at this point in the history
  • Loading branch information
syoyo committed Sep 30, 2023
1 parent 61a30ff commit 680e56d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/c-tinyusd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@ int c_tinyusd_prim_del_child(CTinyUSDPrim *prim, uint64_t child_idx) {
return 0;
}

pprim->children().erase(pprim->children().begin() + ssize_t(child_idx));
pprim->children().erase(pprim->children().begin() + ptrdiff_t(child_idx));

return 1;
}
Expand Down

0 comments on commit 680e56d

Please sign in to comment.