summaryrefslogtreecommitdiffstats
path: root/src/bltVecMath.C
diff options
context:
space:
mode:
authorjoye <joye>2013-09-06 20:06:16 (GMT)
committerjoye <joye>2013-09-06 20:06:16 (GMT)
commit1e2f18cb6bef46058689d055e74a06b3336983ef (patch)
tree2f888d5a967d98eee4c06113920d7e41070b148c /src/bltVecMath.C
parent0ec39155cbe23770621b9493e47efd90f6ed62d9 (diff)
downloadblt-1e2f18cb6bef46058689d055e74a06b3336983ef.zip
blt-1e2f18cb6bef46058689d055e74a06b3336983ef.tar.gz
blt-1e2f18cb6bef46058689d055e74a06b3336983ef.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltVecMath.C')
-rw-r--r--src/bltVecMath.C10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bltVecMath.C b/src/bltVecMath.C
index dc7cf5a..a04e3c4 100644
--- a/src/bltVecMath.C
+++ b/src/bltVecMath.C
@@ -694,7 +694,7 @@ ParseString(
} else {
Vector *vPtr;
- while (isspace(UCHAR(*string))) {
+ while (isspace((unsigned char)(*string))) {
string++; /* Skip spaces leading the vector name. */
}
vPtr = Blt_Vec_ParseElement(interp, valuePtr->vPtr->dataPtr,
@@ -762,11 +762,11 @@ ParseMathFunction(
* record for the function.
*/
p = (char *)start;
- while (isspace(UCHAR(*p))) {
+ while (isspace((unsigned char)(*p))) {
p++;
}
piPtr->nextPtr = p;
- while (isalnum(UCHAR(*p)) || (*p == '_')) {
+ while (isalnum((unsigned char)(*p)) || (*p == '_')) {
p++;
}
if (*p != '(') {
@@ -838,7 +838,7 @@ NextToken(
int result;
p = piPtr->nextPtr;
- while (isspace(UCHAR(*p))) {
+ while (isspace((unsigned char)(*p))) {
p++;
}
if (*p == '\0') {
@@ -1034,7 +1034,7 @@ NextToken(
} else {
Vector *vPtr;
- while (isspace(UCHAR(*p))) {
+ while (isspace((unsigned char)(*p))) {
p++; /* Skip spaces leading the vector name. */
}
vPtr = Blt_Vec_ParseElement(interp, valuePtr->vPtr->dataPtr,