[mythtv-commits] [MythTV/mythtv] c4fc53: Services V2: Fix content length when length > 2 GB

Peter Bennett noreply at github.com
Tue May 10 14:19:46 UTC 2022


  Branch: refs/heads/fixes/32
  Home:   https://github.com/MythTV/mythtv
  Commit: c4fc53c651edbcf695694ee12807b9bc1b4f79ca
      https://github.com/MythTV/mythtv/commit/c4fc53c651edbcf695694ee12807b9bc1b4f79ca
  Author: Peter Bennett <pbennett at 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)




More information about the mythtv-commits mailing list