[all-commits] [llvm/llvm-project] d2f21f: Conversion from '__int64' to 'long', possible loss...

Igor Zhukov via All-commits all-commits at lists.llvm.org
Sun Jul 17 07:43:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d2f21f98a95530f0e904a18507c5805d59658635
      https://github.com/llvm/llvm-project/commit/d2f21f98a95530f0e904a18507c5805d59658635
  Author: Igor Zhukov <fsb4000 at yandex.ru>
  Date:   2022-07-17 (Sun, 17 Jul 2022)

  Changed paths:
    M libcxx/test/std/time/time.hms/time.hms.members/seconds.pass.cpp
    M libcxx/test/std/time/time.hms/time.hms.members/subseconds.pass.cpp

  Log Message:
  -----------
  Conversion from '__int64' to 'long', possible loss of data

llvm-project\libcxx\test\std\time\time.hms\time.hms.members\seconds.pass.cpp(38): note: see reference to function template instantiation 'long check_seconds<std::chrono::seconds>(Duration)' being compiled
        with
        [
            Duration=std::chrono::seconds
        ]
llvm-project\libcxx\test\std\time\time.hms\time.hms.members\seconds.pass.cpp(31): warning C4244: 'return': conversion from '_Rep' to 'long', possible loss of data
        with
        [
            _Rep=__int64
        ]

Reviewed By: #libc, Mordante

Differential Revision: https://reviews.llvm.org/D129928




More information about the All-commits mailing list