corrected warnings for GCC/linux