Removing missmatching type declaration. Scrutinizer warning.

I jsut want to make sure that it effectively correct the scrutinizer warning.