Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
3935711e
Commit
3935711e
authored
Aug 17, 2003
by
Bill Hoffman
Browse files
ENH: remove warning and unneeded cast
parent
0bdfbc72
Changes
1
Show whitespace changes
Inline
Side-by-side
Source/kwsys/SystemTools.cxx
View file @
3935711e
...
...
@@ -970,17 +970,15 @@ unsigned long SystemTools::FileLength(const char* filename)
int
SystemTools
::
Strucmp
(
const
char
*
s1
,
const
char
*
s2
)
{
// return strcasecmp(s1,s2);
//
// lifted from Graphvis http://www.graphviz.org
while
((
*
s1
!=
'\0'
)
&&
(
tolower
(
*
(
unsigned
char
*
)
s1
)
==
tolower
(
*
(
unsigned
char
*
)
s2
)))
&&
(
tolower
(
*
s1
)
==
tolower
(
*
s2
)))
{
s1
++
;
s2
++
;
}
return
tolower
(
*
(
unsigned
char
*
)
s1
)
-
tolower
(
*
(
unsigned
char
*
)
s2
);
return
tolower
(
*
s1
)
-
tolower
(
*
s2
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment