diff options
author | Vladimir Prus <ghost@cs.msu.su> | 2005-11-24 09:25:38 +0000 |
---|---|---|
committer | Vladimir Prus <ghost@cs.msu.su> | 2005-11-24 09:25:38 +0000 |
commit | 1f1ba35b941d9122f1138733fdf733ac6439210f (patch) | |
tree | 53f34851dd0e3d86122146690e12df9b0d3ea86f /libs/program_options | |
parent | 7f21f137cafa4c34e3e5432880f42bdd83296ce4 (diff) | |
download | boost-1f1ba35b941d9122f1138733fdf733ac6439210f.tar.gz |
Cast argument to isspace to 'unsigned char'. Otherwise, if base char
type is signed, and a specific value is 8-bit and so negative,
we get implicit char->int conversion that does sign-extending. However,
the 'isspace' function requires that the value be either representable in
'unsigned char', or be EOF.
[SVN r31765]
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 e1d38380f45b4384258b7093a1518a05b113e76 +Subproject 3400019810b2bf977c957d942b116d765fbea4b |