fix issue 8119 - Cannot cast from void* to forwarded struct pointer