apply compilation warnings patch from mirraz1@rambler.ru (bug#2377)