Fixed warning (incompatible types)