Fix GCC compiler warning in wmapp.cc