Mailing List Archive

[MythTV/mythtv] c4fc53: Services V2: Fix content length when length > 2 GB
Branch: refs/heads/fixes/32
Home: https://github.com/MythTV/mythtv
Commit: c4fc53c651edbcf695694ee12807b9bc1b4f79ca
https://github.com/MythTV/mythtv/commit/c4fc53c651edbcf695694ee12807b9bc1b4f79ca
Author: Peter Bennett <pbennett@mythtv.org>
Date: 2022-05-10 (Tue, 10 May 2022)

Changed paths:
M mythtv/libs/libmythbase/http/mythhttpranges.cpp

Log Message:
-----------
Services V2: Fix content length when length > 2 GB

Third parameter of std::accumulate determines the return type, so it has
to be explicitly cast to a uint64 to support 64 bit return.

Fixes #555

(cherry picked from commit d364c8b29db8e7c669bb3be90a6b8c4bc3021e4b)


_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits