* Add an implicit cast to FTGL::TextAlignment in the FTLayout::SetAlignment C wrapper.
diff --git a/src/FTLayout/FTLayoutGlue.cpp b/src/FTLayout/FTLayoutGlue.cpp
index 76b07d7..c8b3704 100644
--- a/src/FTLayout/FTLayoutGlue.cpp
+++ b/src/FTLayout/FTLayoutGlue.cpp
@@ -137,7 +137,7 @@ C_FUN(float, ftglGetLayoutLineLength, (FTGLlayout *f),
// void SetAlignment(const TextAlignment Alignment)
C_FUN(void, ftglSetLayoutAlignment, (FTGLlayout *f, const int a),
- return, SetAlignment, (a));
+ return, SetAlignment, ((FTGL::TextAlignment)a));
// TextAlignment GetAlignment() const
C_FUN(int, ftglGetLayoutAlignement, (FTGLlayout *f),