]> granicus.if.org Git - python/commit
PyUnicode_EncodeUTF8: squash compiler wng. The difference of two
authorTim Peters <tim.peters@gmail.com>
Sun, 21 Apr 2002 03:26:37 +0000 (03:26 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 21 Apr 2002 03:26:37 +0000 (03:26 +0000)
commit7e3d961fc15e3e7fd5846e31bdfd3fc8df19edec
tree9509455b71c5db57dc0e8f0143c503be0391b4db
parentdc374e034a56069818b0f1c8e360144520f8da98
PyUnicode_EncodeUTF8:  squash compiler wng.  The difference of two
pointers is a signed type.  Changing "allocated" to a signed int makes
undetected overflow more likely, but there was no overflow detection
before either.
Objects/unicodeobject.c