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

Peter Bennett noreply at github.com
Sat May 7 21:44:15 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: d364c8b29db8e7c669bb3be90a6b8c4bc3021e4b
      https://github.com/MythTV/mythtv/commit/d364c8b29db8e7c669bb3be90a6b8c4bc3021e4b
  Author: Peter Bennett <pbennett at mythtv.org>
  Date:   2022-05-07 (Sat, 07 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




More information about the mythtv-commits mailing list