tcsh/tcsh-6.24.14-x86-fix-build.patch

12 lines
397 B
Diff
Raw Permalink Normal View History

--- tcsh-6.24.14/sh.file.c.orig 2024-12-10 16:50:13.399978615 +0100
+++ tcsh-6.24.14/sh.file.c 2024-12-10 16:53:29.401358905 +0100
@@ -593,7 +593,7 @@
#if defined (WIDE_STRINGS) && !defined (UTF16_STRING)
errno = 0;
- return (wcscoll(*(Char *const *) p, *(Char *const *) q));
+ return (wcscoll(*(wchar_t *const *) p, *(wchar_t *const *) q));
#else
char *p1, *q1;
int res;