Skip to content

Commit 90adc5d

Browse files
committed
Fix compiler warning
1 parent 18dddd6 commit 90adc5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/internal/pycore_object.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ static inline PyObject **_PyObject_ManagedDictPointer(PyObject *obj)
227227
return ((PyObject **)obj)-3;
228228
}
229229

230-
#define MANAGED_DICT_OFFSET ((int)((sizeof(PyObject *))*-3))
230+
#define MANAGED_DICT_OFFSET (((int)sizeof(PyObject *))*-3)
231231

232232
extern PyObject ** _PyObject_DictPointer(PyObject *);
233233
extern int _PyObject_VisitInstanceAttributes(PyObject *self, visitproc visit, void *arg);

0 commit comments

Comments
 (0)