[Issue 10171] Incompatible pointer type assignments