Fix int/size_t issues

[SVN r24711]
This commit is contained in:
Douglas Gregor
2004-08-24 13:50:03 +00:00
parent fa928962a6
commit 4e54b5db92

View File

@ -158,7 +158,7 @@ union max_align
#undef BOOST_TT_CHOOSE_MIN_ALIGNMENT
#undef BOOST_TT_CHOOSE_T
template<int TAlign, int Align>
template<std::size_t TAlign, std::size_t Align>
struct is_aligned
{
BOOST_STATIC_CONSTANT(bool,
@ -189,7 +189,7 @@ struct is_pod< ::boost::detail::lower_alignment<Align> >
// This alignment method originally due to Brian Parker, implemented by David
// Abrahams, and then ported here by Doug Gregor.
template <int Align>
template <std::size_t Align>
class type_with_alignment
{
typedef detail::lower_alignment<Align> t1;