diff options
Diffstat (limited to 'geometry.c')
-rw-r--r-- | geometry.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -702,7 +702,7 @@ NextProperty(GeometryInfo * info) pi = malloc(sizeof(PropertyInfo)); if (pi) { - bzero((char *) pi, sizeof(PropertyInfo)); + bzero(pi, sizeof(PropertyInfo)); info->props = (PropertyInfo *) AddCommonInfo(&info->props->defs, (CommonInfo *) pi); info->nProps++; @@ -779,7 +779,7 @@ NextShape(GeometryInfo * info) si = malloc(sizeof(ShapeInfo)); if (si) { - bzero((char *) si, sizeof(ShapeInfo)); + bzero(si, sizeof(ShapeInfo)); info->shapes = (ShapeInfo *) AddCommonInfo(&info->shapes->defs, (CommonInfo *) si); info->nShapes++; |