Re: [Boost-bugs] [Boost C++ Libraries] #7077: A few trivial 64-bit warning fixes on Windows

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7077: A few trivial 64-bit warning fixes on Windows
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-05 13:07:40


#7077: A few trivial 64-bit warning fixes on Windows
-------------------------------------------------------+--------------------
  Reporter: Luke Elliott <lukester_null@…> | Owner: vladimir_prus
      Type: Patches | Status: new
 Milestone: To Be Determined | Component: program_options
   Version: Boost 1.50.0 | Severity: Cosmetic
Resolution: | Keywords:
-------------------------------------------------------+--------------------

Comment (by anonymous):

 IIRC `unsigned` is 32 bit, `std::size_t` and `vector::size_type` are
 `unsigned long`, which is 64 bit. It's generally better to use
 `std::size_t` (or `vector::size_type` or whatever), unless you have a good
 reason not to.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7077#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC