You are casting around types that aren't meant to be casted around. For example, a STRING is not a const char * and neither is a var!
And last but not least, I don't see any struct in your code. Where is it?


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com