fixed compiler warning with GCC 9