Incorporate a commit from portableproplib's git master to fix two warnings:
commit 72e03f757660ed295f81315d871e51abe22df9dd Author: Juan RP <xtraeme@gmail.com> Date: Wed Apr 21 05:07:53 2010 +0200 Add a cast that fixes a warning in the new zlib code. --HG-- extra : convert_revision : xtraeme%40gmail.com-20100421030905-ixl5tj2to573xnxz
This commit is contained in:
parent
19af2f4af4
commit
ea0d37a104
@ -993,7 +993,7 @@ prop_array_internalize_from_zfile(const char *fname)
|
||||
}
|
||||
|
||||
strm.avail_in = mf->poimf_mapsize;
|
||||
strm.next_in = mf->poimf_xml;
|
||||
strm.next_in = (unsigned char *)mf->poimf_xml;
|
||||
|
||||
/* Output buffer (decompressed) */
|
||||
uncomp_xml = _PROP_MALLOC(_READ_CHUNK, M_TEMP);
|
||||
|
@ -1491,7 +1491,7 @@ prop_dictionary_internalize_from_zfile(const char *fname)
|
||||
return NULL;
|
||||
}
|
||||
strm.avail_in = mf->poimf_mapsize;
|
||||
strm.next_in = mf->poimf_xml;
|
||||
strm.next_in = (unsigned char *)mf->poimf_xml;
|
||||
|
||||
/* Output buffer (uncompressed) */
|
||||
uncomp_xml = _PROP_MALLOC(_READ_CHUNK, M_TEMP);
|
||||
|
Loading…
Reference in New Issue
Block a user