mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-26 05:49:56 +00:00
This comes up when building the code with clang 13. It happens due to recently enabled Wconversion warning, which in case of clang also enables implicit-int-conversion warning. The warning reads: fs_file_system.h:937:44: error: higher order bits are zeroes after implicit conversion [-Werror,-Wimplicit-int-conversion] ::File_system::Watch_handle fs_handle { -1U }; ~~~~~~~~~ ^~~ This can be fixed by properly specifying fs_handle value to be of unsigned long type. Issue #4354