Skip to content

Commit 4b01139

Browse files
teeks99stefanseefeld
authored andcommitted
Ssize t warning - trac #3353 (boostorg#21)
Fixes msvc unsafe type conversion warning - trac num: 3353
1 parent 65bfec2 commit 4b01139

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/boost/python/list.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class list : public detail::list_base
7373
}
7474

7575
template <class T>
76-
long count(T const& value) const
76+
ssize_t count(T const& value) const
7777
{
7878
return base::count(object(value));
7979
}

0 commit comments

Comments
 (0)