Skip to content

Commit

Permalink
type_error(): Added "const" to signature to eliminate warning with -W…
Browse files Browse the repository at this point in the history
…all.
  • Loading branch information
freddrake committed Jul 9, 2000
1 parent 3be9a8a commit 4201b9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Objects/abstract.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
/* Shorthands to return certain errors */

static PyObject *
type_error(char *msg)
type_error(const char *msg)
{
PyErr_SetString(PyExc_TypeError, msg);
return NULL;
Expand Down

0 comments on commit 4201b9e

Please sign in to comment.