aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-04-21 10:15:27 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-04-21 10:15:27 +0200
commit3cb2d76c1e2375ecce69f2c3f462be979295c753 (patch)
tree93cdecaab60231166da1f69f70104c5f1117a6c5
parent5389747f4fff27f85404c96ae969c0c1c7924d76 (diff)
Work around bogus -Wrestrict in GCC 12 (GCC bug #105329)
-rw-r--r--libbutl/utf8.ixx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbutl/utf8.ixx b/libbutl/utf8.ixx
index 3d2e092..10624f8 100644
--- a/libbutl/utf8.ixx
+++ b/libbutl/utf8.ixx
@@ -116,7 +116,7 @@ namespace butl
{
if (b < 0xFE)
{
- *what = b < 0xFC ? "5" : "6";
+ *what = b < 0xFC ? '5' : '6';
*what += "-byte length UTF-8 sequence";
}
else