Bugs item #1389809, was opened at 2005-12-24 15:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1389809&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: Extension Modules
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Brett Cannon (bcannon)
Assigned to: Fredrik Lundh (effbot)
Summary: Fxn call in _elementtree.c has incorrect signedness

Initial Comment:
Line 2149 in Modules/_elementtree.c calls
PyUnicode_Decode() with an array of ``unsigned char``
while the definition of the function in
Objects/unicodeobject.c has the argument as ``const
char *``.

Here is the relevant output from the build:

/Users/drifty/Code/Trees/svn/python/trunk/Modules/_elementtree.c:
In function 'expat_unknown_encoding_handler':
/Users/drifty/Code/Trees/svn/python/trunk/Modules/_elementtree.c:2149:
warning: pointer targets in passing argument 1 of
'PyUnicodeUCS2_Decode' differ in signedness

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1389809&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to