ref: 0c52faa9db22d32e22f6fe2a57da9d32c7e82d35
parent: 57a94c4863a9e70926304b247b6f16b3b8a1c6ec
author: Werner Lemberg <[email protected]>
date: Sun May 25 16:04:56 EDT 2008
add missing casting
--- a/src/truetype/ttgload.c
+++ b/src/truetype/ttgload.c
@@ -658,8 +658,10 @@
}
else
{
- loader->exec->metrics.x_scale = loader->size->metrics.x_scale;
- loader->exec->metrics.y_scale = loader->size->metrics.y_scale;
+ loader->exec->metrics.x_scale =
+ ((TT_Size)loader->size)->metrics.x_scale;
+ loader->exec->metrics.y_scale =
+ ((TT_Size)loader->size)->metrics.y_scale;
}
#endif