INTEXT-84: Fix all the compiler warnings