Fixed all the compiler warnings :