[all-commits] [llvm/llvm-project] 8bb429: [libc] Fix compilation warnings on 32-bit archs (#...

Mikhail R. Gadelha via All-commits all-commits at lists.llvm.org
Thu Jul 4 09:34:36 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8bb4294be71e10eca02e23aab4f17af905687c4a
      https://github.com/llvm/llvm-project/commit/8bb4294be71e10eca02e23aab4f17af905687c4a
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M libc/src/sched/linux/sched_rr_get_interval.cpp
    M libc/test/src/__support/time/linux/timeout_test.cpp

  Log Message:
  -----------
  [libc] Fix compilation warnings on 32-bit archs (#97745)

timespec's tv_nsec is a long int, which has different sizes in 32-bit and 64-bit platforms, so this patch adds one and fixes another static_cast throw warnings in 32-bit archs



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list