[Issue #11] Fixing compiler warnings