polygonal/core — pull request #4 by Dr-Emann (2012-11-14 00:03:27+00:00)
Title: Fix Sprintf

Haxe got confused by the difference between haxe.EnumFlags and Int, even though they are the same type.
Sprintf now passes the EnumFlags with an explicit cast from the underlying Integer.

This should fix the problem mentioned previously.