[PATCH 29/62] w_scan: Fix build with GCC 10