mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
The rest of the changes by Trent Mick and Dale Nagata for warning-free
compilation on NT Alpha. Mostly added casts etc.
This commit is contained in:
parent
e0a928dc1e
commit
bffd683f73
15 changed files with 34 additions and 22 deletions
|
|
@ -184,7 +184,7 @@ PyFrame_New(tstate, code, globals, locals)
|
|||
if (f == NULL)
|
||||
return (PyFrameObject *)PyErr_NoMemory();
|
||||
f->ob_type = &PyFrame_Type;
|
||||
_Py_NewReference(f);
|
||||
_Py_NewReference((PyObject *)f);
|
||||
}
|
||||
else {
|
||||
f = free_list;
|
||||
|
|
@ -199,7 +199,7 @@ PyFrame_New(tstate, code, globals, locals)
|
|||
else
|
||||
extras = f->f_nlocals + f->f_stacksize;
|
||||
f->ob_type = &PyFrame_Type;
|
||||
_Py_NewReference(f);
|
||||
_Py_NewReference((PyObject *)f);
|
||||
}
|
||||
if (builtins == NULL) {
|
||||
/* No builtins! Make up a minimal one. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue