Prevent the compiler from casting structs incorrectly
The compiler won't stop you from casting a struct to a class which will cause a compile error afterward in the C compiler.
Fixes #1249 (closed)
The compiler won't stop you from casting a struct to a class which will cause a compile error afterward in the C compiler.
Fixes #1249 (closed)