Commit 11735fe317c1b860fca0b33b9b61b7d45fff3acb

Werner Lemberg 2000-07-01T14:08:31

A small fix from Tom.

diff --git a/src/type1z/z1parse.c b/src/type1z/z1parse.c
index 06e1069..55c013f 100644
--- 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;