Insert an explicit cast for -Wc++11-narrowing error #181
Merged
MicheleC
merged 1 commits from fix/add_static_cast
into master
1 year ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'fix/add_static_cast'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Building with gcc 11.2.0 or clang 13.0.1
64 bit builds are ok with gcc or clang.
For a 32 bit build, with gcc is ok, but with clang, this failure occurs:
32 bit builds are done in a chroot in the 64 bit host, hence with a 64 bit kernel.
64 bit builds are also done in a chroot.
Patching as proposed in the error message allows the 32 bit build to complete.
The 64 bit build with the patch is ok.
Looks good, thanks.
856ba6b472
into master 1 year agoReviewers
856ba6b472
.