fixed compiler warnings from Linux gcc 4.7.3