summaryrefslogtreecommitdiff
path: root/geometry.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-10 15:21:49 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-11 15:36:06 -0800
commit8e58b7949ab96180d60fb13f7820d6cc01c228ae (patch)
tree678aa0cb9e88858568f68aac0ae24fcd4b5d8cf4 /geometry.c
parentbdbfa354dd4d93657104ccd7c9e892ed45197dd8 (diff)
Remove unnecessary casts from bzero() calls
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'geometry.c')
-rw-r--r--geometry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/geometry.c b/geometry.c
index 032872a..82f302d 100644
--- a/geometry.c
+++ b/geometry.c
@@ -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++;