summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2016-03-30 17:16:35 (GMT)
committeralbert-github <albert.tests@gmail.com>2016-03-30 17:16:35 (GMT)
commitfdefe70a955c8140f080974319bbf97364d3e610 (patch)
tree17eec694e88cadad604d9a630121b8f119d18b4a /src
parente0dc837a14a466dd4fb58a0a1e6e72b5c400f563 (diff)
downloadDoxygen-fdefe70a955c8140f080974319bbf97364d3e610.zip
Doxygen-fdefe70a955c8140f080974319bbf97364d3e610.tar.gz
Doxygen-fdefe70a955c8140f080974319bbf97364d3e610.tar.bz2
Assertion failure generation documentation
In case of windows 64 bit the generation of the doxygen documentation results in a pop up screen with (most relevant information): Debug Assertion Failed File: f:\dd\vctools\crt\crtw32\convert\istype.c Line: 68 Expression c >= -1 && c <= 255 Problem is that a value is fed to isspace that is not in the correct range and has to be converted to this range.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 7127e9a..9899c79 100755
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -1722,7 +1722,7 @@ QCString removeRedundantWhiteSpace(const QCString &s)
char c;
char pc=0;
// skip leading whitespace
- while (i<l && isspace(src[i]))
+ while (i<l && isspace((uchar)src[i]))
{
i++;
}