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 b3cc551 + 1f3f7f3 commit c1d266d
Show file tree
Hide file tree
Showing 2 changed files with 158 additions and 149 deletions.
2 changes: 1 addition & 1 deletion generic/tclZlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -2644,7 +2644,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 c1d266d

Please sign in to comment.