Borland C++ : minor update to make the code compilable with borland c++

This commit is contained in:
Daniel Marjamäki 2008-12-10 19:14:38 +00:00
parent ddd20a2977
commit 41aa2f8810
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* /*
* c++check - c/c++ syntax checking * c++check - c/c++ syntax checking
* Copyright (C) 2007 Daniel Marjamäki * Copyright (C) 2007 Daniel Marjamäki
* *
@ -908,7 +908,7 @@ void CheckOther::functionVariableUsage()
std::string varname = it->first; std::string varname = it->first;
unsigned int usage = it->second; unsigned int usage = it->second;
if (!isalpha(varname[0])) if (!std::isalpha(varname[0]))
continue; continue;
if ( ! ( usage & USAGE_DECLARE ) ) if ( ! ( usage & USAGE_DECLARE ) )