This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: clean up warnings in Win32 build of mmapmodule.c
Type: Stage:
Components: None Versions:
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: tmick Nosy List: tim.peters, tmick
Priority: normal Keywords: patch

Created on 2000-06-23 02:37 by tmick, last changed 2022-04-10 16:02 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
None tmick, 2000-06-23 02:37 None
Messages (4)
msg32815 - (view) Author: Trent Mick (tmick) (Python triager) Date: 2000-06-23 02:37
 
msg32816 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2000-06-28 06:39
Cool.  Accepted & assigned back to Trent.
msg32817 - (view) Author: Trent Mick (tmick) (Python triager) Date: 2000-06-23 02:38
I confirm that, to the best of my knowledge and belief, this
contribution is free of any claims of third parties under
copyright, patent or other rights or interests ("claims").  To
the extent that I have any such claims, I hereby grant to CNRI a
nonexclusive, irrevocable, royalty-free, worldwide license to
reproduce, distribute, perform and/or display publicly, prepare
derivative versions, and otherwise use this contribution as part
of the Python software and its related documentation, or any
derivative versions thereof, at no cost to CNRI or its licensed
users, and to authorize others to do so.

I acknowledge that CNRI may, at its sole discretion, decide
whether or not to incorporate this contribution in the Python
software and its related documentation.  I further grant CNRI
permission to use my name and other identifying information
provided to CNRI by me for use in connection with the Python
software and its related documentation.
msg32818 - (view) Author: Trent Mick (tmick) (Python triager) Date: 2000-06-23 02:38
Fix a few warnings in the Win32 build of mmapmodule.c. The warnings were
about comparison of singed (int) and unsigned (size_t) values. This was
patched by casting every int to size_t for comparison. This is safe because
every cast is preceded with a check guaranteeing that the int is positive.

History
Date User Action Args
2022-04-10 16:02:01adminsetgithub: 32454
2000-06-23 02:37:55tmickcreate