Add a GCC-specific STATIC_UPCAST macro that checks the object type
commit1d266aa8347fadfb0db34ae27df7b728c0ab2171
authorChris Robinson <chris.kcat@gmail.com>
Sat, 19 Apr 2014 09:38:32 +0000 (19 02:38 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Sat, 19 Apr 2014 10:11:23 +0000 (19 03:11 -0700)
treef194a04fa74b3fe9deb0b619c7b7d3eab21602dd
parent59fc9aac0ee41518dba0cbd2f1518decffeaa480
Add a GCC-specific STATIC_UPCAST macro that checks the object type

The check is compile time, and is functionally identical to the old/alternate
version.
Alc/backends/base.h
Alc/midi/base.h
OpenAL32/Include/alAuxEffectSlot.h
OpenAL32/Include/alMain.h