diff options
author | John Langford <jl@hunch.net> | 2014-01-24 19:52:16 +0400 |
---|---|---|
committer | John Langford <jl@hunch.net> | 2014-01-24 19:52:16 +0400 |
commit | d736e17843a0a254ae8b7a14d209c19d8be1a631 (patch) | |
tree | f0f1629e139ab0afe264b2e84cabad1d9eb0cc1a /vowpalwabbit/parse_args.cc | |
parent | 1012352e233c427abf8543aa0c11adb0bce76f32 (diff) |
minor warning removal
Diffstat (limited to 'vowpalwabbit/parse_args.cc')
-rw-r--r-- | vowpalwabbit/parse_args.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vowpalwabbit/parse_args.cc b/vowpalwabbit/parse_args.cc index ae6f7b4d..26f56689 100644 --- a/vowpalwabbit/parse_args.cc +++ b/vowpalwabbit/parse_args.cc @@ -496,7 +496,7 @@ vw* parse_args(int argc, char *argv[]) if (vm.count("spelling")) { vector<string> spelling_ns = vm["spelling"].as< vector<string> >(); for (size_t id=0; id<spelling_ns.size(); id++) - if (spelling_ns[id][0] == '_') all->spelling_features[' '] = true; + if (spelling_ns[id][0] == '_') all->spelling_features[(unsigned char)' '] = true; else all->spelling_features[(size_t)spelling_ns[id][0]] = true; } |