* fix some compiler warnings (-Wall -Werror)