Add cast in python.c
gdb/ChangeLog: * python/python.c (_initialize_python): Add cast.
This commit is contained in:
parent
fb70bc1a74
commit
db0f0d0c1d
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2015-10-22 Simon Marchi <simon.marchi@ericsson.com>
|
||||||
|
|
||||||
|
* python/python.c (_initialize_python): Add cast.
|
||||||
|
|
||||||
2015-10-22 Simon Marchi <simon.marchi@ericsson.com>
|
2015-10-22 Simon Marchi <simon.marchi@ericsson.com>
|
||||||
|
|
||||||
* nto-tdep.c (nto_inferior_data): Add cast.
|
* nto-tdep.c (nto_inferior_data): Add cast.
|
||||||
|
|
|
@ -1725,7 +1725,7 @@ message == an error message without a stack will be printed."),
|
||||||
fprintf (stderr, "Could not convert python path to string\n");
|
fprintf (stderr, "Could not convert python path to string\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
progname_copy = PyMem_Malloc ((progsize + 1) * sizeof (wchar_t));
|
progname_copy = (wchar_t *) PyMem_Malloc ((progsize + 1) * sizeof (wchar_t));
|
||||||
if (!progname_copy)
|
if (!progname_copy)
|
||||||
{
|
{
|
||||||
fprintf (stderr, "out of memory\n");
|
fprintf (stderr, "out of memory\n");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue