DRW: Fix compilation error.

This commit is contained in:
Clément Foucault 2017-11-06 18:40:29 +01:00
parent 91af8f2ae2
commit facdc15fdd
1 changed files with 1 additions and 1 deletions

View File

@ -971,7 +971,7 @@ void DRW_shgroup_instance_batch(DRWShadingGroup *shgroup, struct Gwn_Batch *inst
shgroup->calls_first = call; \
} \
else { \
((typeof(call))shgroup->calls)->head.prev = call; \
((DRWCall *)(shgroup->calls))->head.prev = call; \
shgroup->calls = call; \
} \
call->head.prev = NULL; \