]> granicus.if.org Git - python/commit
make_pair(): When comparing the pointers, they must be cast to integer
authorBarry Warsaw <barry@python.org>
Fri, 18 Aug 2000 05:01:19 +0000 (05:01 +0000)
committerBarry Warsaw <barry@python.org>
Fri, 18 Aug 2000 05:01:19 +0000 (05:01 +0000)
commit9d23a4eb037abc4d6026dda09ffda39eb8701a1e
tree72d7b01211c70300b626e417c28737ce270445f5
parent67c1a04bbbad20a6a66aa32d35fe41baf2660a51
make_pair(): When comparing the pointers, they must be cast to integer
types (i.e. Py_uintptr_t, our spelling of C9X's uintptr_t).  ANSI
specifies that pointer compares other than == and != to non-related
structures are undefined.  This quiets an Insure portability warning.
Objects/object.c