[Patches] clean up warnings in Win32 build of mmapmodule.c

Trent Mick trentm@activestate.com
Thu, 22 Jun 2000 19:43:11 -0700


On Thu, Jun 22, 2000 at 07:36:34PM -0700, Trent Mick wrote:
> 
> Discussion:
> 
> 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.
> 
> 

I also put this up at SOurceForge:

https://sourceforge.net/patch/index.php?func=detailpatch&patch_id=100613&group_id=5470



Side note:

My earlier mmap patch was recently applied (thanks Andrew!) but it remains
open on the SourceForge patch manager. Apparently (am I wrong) you have to
have admin priviledges to close a patch. I would have thought that maybe
development status would have confered this. Anyway, could someone please
close that bug:
https://sourceforge.net/patch/?func=detailpatch&patch_id=100515&group_id=5470


Thanks,
Trent

-- 
Trent Mick
trentm@activestate.com