Skip to content

Commit

Permalink
Fix [73d5cb615e]: zlib-8.8, zlib-8.16 fail on Fedora 40, gcc 14.1.1
Browse files Browse the repository at this point in the history
backport [cfdf80a2efc6]: zlib checksum is negative
  • Loading branch information
jan.nijtmans committed Oct 18, 2024
2 parents 6094261 + c1d266d commit b662843
Show file tree
Hide file tree
Showing 2 changed files with 156 additions and 147 deletions.
2 changes: 1 addition & 1 deletion generic/tclZlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -2691,7 +2691,7 @@ ZlibStreamCmd(
return TCL_ERROR;
}
Tcl_SetObjResult(interp, Tcl_NewWideIntObj(
(uLong) Tcl_ZlibStreamChecksum(zstream)));
(unsigned int)Tcl_ZlibStreamChecksum(zstream)));
return TCL_OK;
case zs_reset: /* $strm reset */
if (objc != 2) {
Expand Down
Loading

0 comments on commit b662843

Please sign in to comment.