diff options
Diffstat (limited to 'geometry.c')
-rw-r--r-- | geometry.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -702,7 +702,7 @@ NextProperty(GeometryInfo * info) { PropertyInfo *pi; - pi = uTypedAlloc(PropertyInfo); + pi = malloc(sizeof(PropertyInfo)); if (pi) { bzero((char *) pi, sizeof(PropertyInfo)); @@ -780,7 +780,7 @@ NextShape(GeometryInfo * info) { ShapeInfo *si; - si = uTypedAlloc(ShapeInfo); + si = malloc(sizeof(ShapeInfo)); if (si) { bzero((char *) si, sizeof(ShapeInfo)); @@ -1077,7 +1077,7 @@ NextSection(GeometryInfo * info) { SectionInfo *si; - si = uTypedAlloc(SectionInfo); + si = malloc(sizeof(SectionInfo)); if (si) { *si = info->dfltSection; @@ -1167,7 +1167,7 @@ NextRow(SectionInfo * si) { RowInfo *row; - row = uTypedAlloc(RowInfo); + row = malloc(sizeof(RowInfo)); if (row) { *row = si->dfltRow; @@ -1204,7 +1204,7 @@ NextKey(RowInfo * row) { KeyInfo *key; - key = uTypedAlloc(KeyInfo); + key = malloc(sizeof(KeyInfo)); if (key) { *key = row->dfltKey; |