Warning analyzer fixes

Replaces https://github.com/domhofmann/PRTween/pull/40.