fix compiler warnings

we use Typhoon with Cocoapods and this cause warnings to appear in our build or force us to inhibit all warnings