summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2487fd5)
raw | patch | inline | side by side (parent: 2487fd5)
author | Florian Forster <octo@huhu.verplant.org> | |
Mon, 3 May 2010 07:21:45 +0000 (09:21 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Mon, 3 May 2010 07:24:46 +0000 (09:24 +0200) |
The struct member isn't const, resulting in a warning.
src/pyvalues.c | patch | blob | history |
diff --git a/src/pyvalues.c b/src/pyvalues.c
index 60462adb9658dfe73140ce0a6ef90c87b6604a48..cc7e296c020e0a7df6706f432a374371caeb7219 100644 (file)
--- a/src/pyvalues.c
+++ b/src/pyvalues.c
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 = {
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 = {