aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-status.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-04-21 10:17:21 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-04-21 10:17:21 +0200
commit38f9e824fb9402dd018246fbb02f095100b0298b (patch)
tree8396dffa8178bb37a97db3961bf6ddaca1cb05c8 /bpkg/pkg-status.cxx
parent13336bebdddb7721347407f64e432627d0d8d6c1 (diff)
Work around bogus -Wrestrict in GCC 12 (GCC bug #105329)
Diffstat (limited to 'bpkg/pkg-status.cxx')
-rw-r--r--bpkg/pkg-status.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/pkg-status.cxx b/bpkg/pkg-status.cxx
index 46abbea..45ea519 100644
--- a/bpkg/pkg-status.cxx
+++ b/bpkg/pkg-status.cxx
@@ -117,7 +117,7 @@ namespace bpkg
// the user did specify the version.
//
if (o.system ())
- r.system_package_version = "?";
+ r.system_package_version = '?';
// Get rid of stubs.
//