Fixed #5081 (False positive: (error) Uninitialized variable: f (handling of C-cast not correct))