summaryrefslogtreecommitdiffstats
path: root/generic/regc_locale.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/regc_locale.c')
-rw-r--r--generic/regc_locale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/regc_locale.c b/generic/regc_locale.c
index 0f8d1b2..0006635 100644
--- a/generic/regc_locale.c
+++ b/generic/regc_locale.c
@@ -1160,7 +1160,7 @@ cmp(
const chr *x, const chr *y, /* strings to compare */
size_t len) /* exact length of comparison */
{
- return memcmp(VS(x), VS(y), len*sizeof(chr));
+ return memcmp((void*)(x), (void*)(y), len*sizeof(chr));
}
/*