Add change from portableproplib's git master to fix a warning with -Wextra:
commit 1296cfff2dd84a09f973bd446a75d5b92001506d Author: Juan RP <xtraeme@gmail.com> Date: Wed Apr 21 05:47:34 2010 +0200 prop_object: add cast for -Wextra. --HG-- extra : convert_revision : xtraeme%40gmail.com-20100421034857-oxkoa87srg5olsrx
This commit is contained in:
parent
ea0d37a104
commit
4bef22e190
@ -918,7 +918,7 @@ _prop_object_internalize_map_file(const char *fname)
|
|||||||
return (NULL);
|
return (NULL);
|
||||||
}
|
}
|
||||||
mf->poimf_mapsize = ((size_t)sb.st_size + pgmask) & ~pgmask;
|
mf->poimf_mapsize = ((size_t)sb.st_size + pgmask) & ~pgmask;
|
||||||
if (mf->poimf_mapsize < sb.st_size) {
|
if (mf->poimf_mapsize < (size_t)sb.st_size) {
|
||||||
(void) close(fd);
|
(void) close(fd);
|
||||||
_PROP_FREE(mf, M_TEMP);
|
_PROP_FREE(mf, M_TEMP);
|
||||||
return (NULL);
|
return (NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user