Fix an incorrect sizeof Signed-off-by: Ran Benita <ran234@gmail.com>
diff --git a/src/xkbcomp/geometry.c b/src/xkbcomp/geometry.c
index fb5eef2..18f41e6 100644
--- a/src/xkbcomp/geometry.c
+++ b/src/xkbcomp/geometry.c
@@ -367,7 +367,7 @@ InitRowInfo(RowInfo * row, SectionInfo * section, GeometryInfo * info)
}
else
{
- bzero(row, sizeof(RowInfo *));
+ bzero(row, sizeof(RowInfo));
row->defs.defined = _GR_Default;
row->defs.fileID = info->fileID;
row->defs.merge = info->merge;