aboutsummaryrefslogtreecommitdiffstats
path: root/src/u_utils.c
diff options
context:
space:
mode:
authorjozan <jozan@noemail.net>2020-11-08 15:12:45 +0000
committerjozan <jozan@noemail.net>2020-11-08 15:12:45 +0000
commit265692f3d2009b49cd7436c1034b0846cbc856a5 (patch)
tree0d115f62e45b7e3ca243db9948223f5af892cb17 /src/u_utils.c
parentTrying wchar_t (diff)
downloadunixize-265692f3d2009b49cd7436c1034b0846cbc856a5.tar.gz
unixize-265692f3d2009b49cd7436c1034b0846cbc856a5.tar.bz2
unixize-265692f3d2009b49cd7436c1034b0846cbc856a5.tar.xz
unixize-265692f3d2009b49cd7436c1034b0846cbc856a5.tar.zst
unixize-265692f3d2009b49cd7436c1034b0846cbc856a5.zip
I can use unicode now!
FossilOrigin-Name: 4ca709ec2cb6da28780e0135b3be84c028c5db3513437844cb1e48a2180332cd
Diffstat (limited to 'src/u_utils.c')
-rw-r--r--src/u_utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/u_utils.c b/src/u_utils.c
index cc2f893..75406c8 100644
--- a/src/u_utils.c
+++ b/src/u_utils.c
@@ -218,12 +218,12 @@ u_decrease_subpath(char subp[])
bool_t
u_ischarset
-(wchar_t c,
- const wchar_t cs[])
+(wchar_t c,
+ const char cs[])
{
- wchar_t *p;
+ char *p;
- p = (wchar_t*)cs;
+ p = (char*)cs;
while (*p != 0x00 && *p != c) {
p++;
}