[all-commits] [llvm/llvm-project] 5bba4f: [libc] Fix -Wshorten-64-to-32 in fileop_test. (#16...

Alexey Samsonov via All-commits all-commits at lists.llvm.org
Tue Nov 18 21:42:17 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5bba4fd75dd513423ff8bb905f89b60558099578
      https://github.com/llvm/llvm-project/commit/5bba4fd75dd513423ff8bb905f89b60558099578
  Author: Alexey Samsonov <vonosmas at gmail.com>
  Date:   2025-11-18 (Tue, 18 Nov 2025)

  Changed paths:
    M libc/test/src/stdio/fileop_test.cpp

  Log Message:
  -----------
  [libc] Fix -Wshorten-64-to-32 in fileop_test. (#168451)

Explicitly cast 0 to size_t type to match fread() return type. This
follows the pattern used elsewhere in this file, and fixes
-Wshorten-64-to-32 warnings when building the test.



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