diff options
Diffstat (limited to 'xkbcomp.c')
-rw-r--r-- | xkbcomp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1021,7 +1021,7 @@ main(int argc, char *argv[]) } } } - bzero((char *) &result, sizeof(result)); + bzero(&result, sizeof(result)); result.type = mapToUse->type; if ((result.xkb = XkbAllocKeyboard()) == NULL) { @@ -1065,7 +1065,7 @@ main(int argc, char *argv[]) else if (inputFormat == INPUT_XKM) /* parse xkm file */ { unsigned tmp; - bzero((char *) &result, sizeof(result)); + bzero(&result, sizeof(result)); if ((result.xkb = XkbAllocKeyboard()) == NULL) { WSGO("Cannot allocate keyboard description\n"); @@ -1087,7 +1087,7 @@ main(int argc, char *argv[]) } else if (inDpy != NULL) { - bzero((char *) &result, sizeof(result)); + bzero(&result, sizeof(result)); result.type = XkmKeymapFile; result.xkb = XkbGetMap(inDpy, XkbAllMapComponentsMask, device_id); if (result.xkb == NULL) |