diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-12-10 15:21:49 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-12-11 15:36:06 -0800 |
commit | 8e58b7949ab96180d60fb13f7820d6cc01c228ae (patch) | |
tree | 678aa0cb9e88858568f68aac0ae24fcd4b5d8cf4 /keycodes.c | |
parent | bdbfa354dd4d93657104ccd7c9e892ed45197dd8 (diff) | |
download | xorg-app-xkbcomp-8e58b7949ab96180d60fb13f7820d6cc01c228ae.tar.gz |
Remove unnecessary casts from bzero() calls
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'keycodes.c')
-rw-r--r-- | keycodes.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -276,9 +276,9 @@ ClearKeyNamesInfo(KeyNamesInfo * info) info->computedMin = 256; info->effectiveMin = 8; info->effectiveMax = 255; - bzero((char *) info->names, sizeof(info->names)); - bzero((char *) info->files, sizeof(info->files)); - bzero((char *) info->has_alt_forms, sizeof(info->has_alt_forms)); + bzero(info->names, sizeof(info->names)); + bzero(info->files, sizeof(info->files)); + bzero(info->has_alt_forms, sizeof(info->has_alt_forms)); if (info->leds) ClearIndicatorNameInfo(info->leds, info); if (info->aliases) |