Style fixes for bind.c
@@ -69,7 +69,8 @@ bool binding_key_compare(struct sway_binding *binding_a,
return true;
}
-static struct cmd_results * cmd_bindsym_or_bindcode(int argc, char **argv, bool bindcode) {
+static struct cmd_results *cmd_bindsym_or_bindcode(int argc, char **argv,
+ bool bindcode) {
const char *bindtype = bindcode ? "bindcode" : "bindsym";
struct cmd_results *error = NULL;
@@ -149,7 +150,7 @@ static struct cmd_results * cmd_bindsym_or_bindcode(int argc, char **argv, bool
return ret;
}
}
- uint32_t *key = calloc(1, sizeof(xkb_keysym_t));
+ uint32_t *key = calloc(1, sizeof(uint32_t));
if (!key) {
free_sway_binding(binding);
free_flat_list(split);
