Use upx_uint16_t instead of unsigned short.

This commit is contained in:
Markus F.X.J. Oberhumer
2016-09-21 17:40:11 +02:00
parent 3bb654cc85
commit b3121e4534
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -235,7 +235,7 @@ PackUnix::patchLoaderChecksum()
l_info *const lp = &linfo;
// checksum for loader; also some PackHeader info
lp->l_magic = UPX_MAGIC_LE32; // LE32 always
set_te16(&lp->l_lsize, (unsigned short) lsize);
set_te16(&lp->l_lsize, (upx_uint16_t) lsize);
lp->l_version = (unsigned char) ph.version;
lp->l_format = (unsigned char) ph.format;
// INFO: lp->l_checksum is currently unused