[pango/matthiasc/for-master: 3/7] Silence compiler warnings
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/matthiasc/for-master: 3/7] Silence compiler warnings
- Date: Sat, 10 Jul 2021 21:03:56 +0000 (UTC)
commit 97029522578b4d8c11a44695cc7ce2eb0797c392
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jul 10 10:11:47 2021 -0400
Silence compiler warnings
tests/test-common.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/tests/test-common.c b/tests/test-common.c
index 14e9941a..66493990 100644
--- a/tests/test-common.c
+++ b/tests/test-common.c
@@ -225,7 +225,8 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
PangoAttribute *
attribute_from_string (const char *string)
{
- char *s, *p;
+ const char *s;
+ char *p;
PangoAttribute *attr;
long long start, end;
GEnumClass *class;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]