Commit 1fa9d696 authored by Francis Dupont's avatar Francis Dupont
Browse files

[master] Merged trac3832 (isalpha() returns an int, not a bool)

parents 34865d6d cdb729bc
// Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2010, 2015 Internet Systems Consortium, Inc. ("ISC")
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
......@@ -35,7 +35,7 @@ namespace {
// Then the find_if doesn't work.
bool
myIsalpha(char c) {
return (isalpha(c));
return (isalpha(c) != 0);
}
// The conversion of units to their size
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment