diff --git a/CHANGELOG.md b/CHANGELOG.md index 68b8898661..4afe855dc9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Fixed -- Add missing include `` for recent version of Windows compilers ([#2101](https://github.com/stack-of-tasks/pinocchio/pull/2101)) +- Use bp::ssize_t for recent version of Windows compilers ([#2102](https://github.com/stack-of-tasks/pinocchio/pull/2102)) ## [2.6.21] - 2023-11-27 diff --git a/bindings/python/utils/conversions.cpp b/bindings/python/utils/conversions.cpp index 82cf455278..c73707e588 100644 --- a/bindings/python/utils/conversions.cpp +++ b/bindings/python/utils/conversions.cpp @@ -3,7 +3,6 @@ // #include -#include #include "pinocchio/bindings/python/fwd.hpp" #include "pinocchio/bindings/python/spatial/se3.hpp" @@ -38,7 +37,7 @@ namespace pinocchio template SE3 XYZQUATToSE3_bp(const TupleOrList& v) { - ssize_t size = bp::len(v); + bp::ssize_t size = bp::len(v); if(size != 7) { throw std::invalid_argument(