Verified Commit 7f3c049f authored by Justin Carpentier's avatar Justin Carpentier
Browse files

core/model: add missing cast

parent 30901a60
...@@ -256,7 +256,7 @@ namespace pinocchio ...@@ -256,7 +256,7 @@ namespace pinocchio
{ {
FrameIndex frame_id = getFrameId(frame.name); FrameIndex frame_id = getFrameId(frame.name);
if(frames[frame_id].type == frame.type) if(frames[frame_id].type == frame.type)
return frame_id; return (int)frame_id;
else else
return -1; return -1;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment