[Issue 10171] New: Incompatible pointer type assignments