diff options
author | Vladimir Prus <ghost@cs.msu.su> | 2005-03-23 11:11:55 +0000 |
---|---|---|
committer | Vladimir Prus <ghost@cs.msu.su> | 2005-03-23 11:11:55 +0000 |
commit | d086f06d767e3c028cfcd04728359a34e13485be (patch) | |
tree | c5100dbaaebb84afa07ba0ef5f4da7f2f73d7d85 /libs/program_options | |
parent | 412428f5392dd901d56f1eaf7377e8b4425ad197 (diff) | |
download | boost-d086f06d767e3c028cfcd04728359a34e13485be.tar.gz |
Fix 64-bit portability problem.
Patch from Jonathan Wakely. Original explanation follows:
The attached patch fixes a 64 bit portability problem where
std::string::size_type is assigned to unsigned, which is shorter
than size_t on x86-64 and so will be truncated. This means the
following comparison to std::string::npos is always false.
[SVN r27772]
Diffstat (limited to 'libs/program_options')
m--------- | libs/program_options | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/libs/program_options b/libs/program_options -Subproject c2442fcad61dc48c0ce789f58b9df9d5feea2af +Subproject cb9bd037d946c4c18bad5a8e32fe2bf354c2e5c |