ref: 11735fe317c1b860fca0b33b9b61b7d45fff3acb
parent: a8bbc267a20c62806a87c8755e2c4bf58acfc7b5
author: Werner Lemberg <[email protected]>
date: Sat Jul 1 10:08:31 EDT 2000
A small fix from Tom.
--- a/src/type1z/z1parse.c
+++ b/src/type1z/z1parse.c
@@ -765,9 +765,19 @@
Store_Integer:
switch (field->size)
{
- case 1: *(FT_Byte*)q = (FT_Byte)val; break;
- case 2: *(FT_UShort*)q = (FT_UShort)val; break;
- default: *(FT_Long*)q = val;
+ case 1:
+ *(FT_Byte*)q = (FT_Byte)val;
+ break;
+ case 2:
+ *(FT_UShort*)q = (FT_UShort)val;
+ break;
+#if SIZEOF_INT == 4
+ case 4:
+ *(FT_Int*)q = (FT_Int)val;
+ break;
+#endif
+ default:
+ *(FT_Long*)q = val;
}
}
break;