* Cleared up Level 1 Warnings.

Signed-off-by: swordmaster2k <b00056835@student.itb.ie>
* Clear up Level 2 warnings. Added lots of explict type casts.

Signed-off-by: swordmaster2k <b00056835@student.itb.ie>