From b9530c89d0db0f18ffc9762aee1c2e6e8d35cf20 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 3 May 2010 09:21:45 +0200 Subject: [PATCH] python plugin: Remove "const" of usage strings. The struct member isn't const, resulting in a warning. --- src/pyvalues.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pyvalues.c b/src/pyvalues.c index 60462adb..cc7e296c 100644 --- a/src/pyvalues.c +++ b/src/pyvalues.c @@ -1009,7 +1009,7 @@ PyTypeObject NotificationType = { Notification_new /* tp_new */ }; -static const char Signed_doc[] = "This is a long by another name. Use it in meta data dicts\n" +static char Signed_doc[] = "This is a long by another name. Use it in meta data dicts\n" "to choose the way it is stored in the meta data."; PyTypeObject SignedType = { @@ -1036,7 +1036,7 @@ PyTypeObject SignedType = { Signed_doc /* tp_doc */ }; -static const char Unsigned_doc[] = "This is a long by another name. Use it in meta data dicts\n" +static char Unsigned_doc[] = "This is a long by another name. Use it in meta data dicts\n" "to choose the way it is stored in the meta data."; PyTypeObject UnsignedType = { -- 2.30.2