[all-commits] [llvm/llvm-project] ab65c9: [libc][NFC] fix int warnings in float conversion (...

michaelrj-google via All-commits all-commits at lists.llvm.org
Mon Dec 4 16:34:38 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab65c9c3bb9bdbc3271db9b25e2c5746fd59eead
      https://github.com/llvm/llvm-project/commit/ab65c9c3bb9bdbc3271db9b25e2c5746fd59eead
  Author: michaelrj-google <71531609+michaelrj-google at users.noreply.github.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M libc/src/__support/UInt.h
    M libc/src/__support/float_to_string.h
    M libc/src/math/generic/math_utils.h
    M libc/src/stdio/printf_core/float_dec_converter.h
    M libc/src/stdio/printf_core/float_hex_converter.h

  Log Message:
  -----------
  [libc][NFC] fix int warnings in float conversion (#74379)

The printf float to string conversion functions had some implicit
integer conversion warnings on gcc. This patch adds explicit casts to
these places.




More information about the All-commits mailing list