From 483959263971a2c05606782bb8652305957a9bd6 Mon Sep 17 00:00:00 2001 From: Owen Shepherd Date: Tue, 1 Jan 2013 17:57:28 +0000 Subject: [PATCH] PDCLIB-2 PDCLIB-9: Fix warning in c32rtomb --- functions/uchar/c32rtomb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.40.0