Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libc] fix -Wconversion #77384

Merged
merged 1 commit into from Jan 9, 2024
Merged

Commits on Jan 8, 2024

  1. [libc] fix -Wconversion

    Fixes the following from GCC:
    
        llvm-project/libc/src/string/memory_utils/op_x86.h:236:24: error:
        conversion from ‘long unsigned int’ to ‘uint32_t’ {aka ‘unsigned int’} may
        change value [-Werror=conversion]
          236 |   return (xored >> 32) | (xored & 0xFFFFFFFF);
              |          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
    
    Link: https://lab.llvm.org/buildbot/#/builders/250/builds/16236/steps/8/logs/stdio
    Link: llvm#74506
    nickdesaulniers committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    546b0db View commit details
    Browse the repository at this point in the history