[issue15181] importlib.h: suncc warnings

Antoine Pitrou report at bugs.python.org
Mon Jun 25 17:49:10 CEST 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

Le lundi 25 juin 2012 à 15:47 +0000, Stefan Krah a écrit :
> 
> +            fprintf(outfile, "%d,", (unsigned int) data[i]);
> 
> Hmm, "%u"? :)

It doesn't change anything, since data[i] is between 0 and 255.
(unless C `int` is 8 bits on your computer, but I doubt it :-))

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15181>
_______________________________________


More information about the Python-bugs-list mailing list