[Patches] [ python-Patches-1713234 ] Fix warnings related to PyLong_FromVoidPtr

SourceForge.net noreply at sourceforge.net
Sat May 5 04:35:58 CEST 2007


Patches item #1713234, was opened at 2007-05-05 11:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1713234&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core (C code)
Group: Python 2.6
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Hirokazu Yamamoto (ocean-city)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix warnings related to PyLong_FromVoidPtr

Initial Comment:
This is slight fix.
PyLong_FromVoidPtr(void *) causes warning on
Modules/_ctypes/callbacks.c (line 387)
> PyObject *py_rclsid = PyLong_FromVoidPtr(rclsid);
>>>> this gets rid of constness of void pointer


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1713234&group_id=5470


More information about the Patches mailing list