Fixed failure for 64 bit platforms.

[SVN r28860]
This commit is contained in:
Markus Schöpflin 2005-05-13 11:48:09 +00:00
parent 274cd2e682
commit 4fab784453

View File

@ -351,7 +351,7 @@ namespace boost { namespace program_options { namespace detail {
{
string name, adjacent;
unsigned p = tok.find('=');
string::size_type p = tok.find('=');
if (p != tok.npos)
{
name = tok.substr(2, p-2);