[PATCH V2 2/2] common: splash_source: Fix type casting errors