aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/os/strcasecmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/os/strcasecmp.c')
-rw-r--r--xorg-server/os/strcasecmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xorg-server/os/strcasecmp.c b/xorg-server/os/strcasecmp.c
index cf100baf4..2692f7f1e 100644
--- a/xorg-server/os/strcasecmp.c
+++ b/xorg-server/os/strcasecmp.c
@@ -38,7 +38,7 @@
int
xstrcasecmp(const char *str1, const char *str2)
{
- const u_char *us1 = (const u_char *)str1, *us2 = (const u_char *)str2;
+ const u_char *us1 = (const u_char *) str1, *us2 = (const u_char *) str2;
while (tolower(*us1) == tolower(*us2)) {
if (*us1++ == '\0')
@@ -55,7 +55,7 @@ int
xstrncasecmp(const char *s1, const char *s2, size_t n)
{
if (n != 0) {
- const u_char *us1 = (const u_char *)s1, *us2 = (const u_char *)s2;
+ const u_char *us1 = (const u_char *) s1, *us2 = (const u_char *) s2;
do {
if (tolower(*us1) != tolower(*us2++))