Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[src] Fix warnings when compiling for i686-linux-gnu (#45753)
Addressed warnings: ``` /cache/build/default-amdci5-0/julialang/julia-master/src/jitlayers.cpp:499:23: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} changes value from '18446744073709551615' to '4294967295' [-Woverflow] 499 | size_t optlevel = ~0ull; | ^~~~~ [...] /cache/build/default-amdci5-0/julialang/julia-master/src/jitlayers.cpp:937:71: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 937 | jl_printf(stream, " basicblocks: %lu\n", countBasicBlocks(F)); | ~~^ ~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int int | %u /cache/build/default-amdci5-0/julialang/julia-master/src/jitlayers.cpp:965:71: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 965 | jl_printf(stream, " basicblocks: %lu\n", countBasicBlocks(F)); | ~~^ ~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int int | %u [...] /cache/build/default-amdci5-0/julialang/julia-master/src/codegen.cpp:2934:28: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'const uint32_t' {aka 'const unsigned int'} [-Wsign-compare] 2934 | if (i > 0 && i <= jl_datatype_nfields(uty)) ```
- Loading branch information