From: Owen Shepherd Date: Tue, 1 Jan 2013 17:57:28 +0000 (+0000) Subject: PDCLIB-2 PDCLIB-9: Fix warning in c32rtomb X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=commitdiff_plain;h=483959263971a2c05606782bb8652305957a9bd6 PDCLIB-2 PDCLIB-9: Fix warning in c32rtomb --- diff --git a/functions/uchar/c32rtomb.c b/functions/uchar/c32rtomb.c index ab5006b..b72b7e9 100644 --- a/functions/uchar/c32rtomb.c +++ b/functions/uchar/c32rtomb.c @@ -23,7 +23,7 @@ size_t c32rtomb_l( locale_t restrict l ) { - char32_t *restrict psrc = &c32; + const char32_t *restrict psrc = &c32; size_t srcsz = 1; size_t dstsz = MB_CUR_MAX; size_t dstrem = dstsz;