mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-24 02:37:23 +08:00
Add cast in python.c
gdb/ChangeLog: * python/python.c (_initialize_python): Add cast.
This commit is contained in:
@ -1725,7 +1725,7 @@ message == an error message without a stack will be printed."),
|
||||
fprintf (stderr, "Could not convert python path to string\n");
|
||||
return;
|
||||
}
|
||||
progname_copy = PyMem_Malloc ((progsize + 1) * sizeof (wchar_t));
|
||||
progname_copy = (wchar_t *) PyMem_Malloc ((progsize + 1) * sizeof (wchar_t));
|
||||
if (!progname_copy)
|
||||
{
|
||||
fprintf (stderr, "out of memory\n");
|
||||
|
Reference in New Issue
Block a user