diff options
author | Alexander Orzechowski <alex@ozal.ski> | 2023-10-03 01:51:07 -0400 |
---|---|---|
committer | Alexander Orzechowski <alex@ozal.ski> | 2023-10-03 01:51:07 -0400 |
commit | 1b0694b79481643cb456d03e1be50a1b4f6ca591 (patch) | |
tree | c693c5de3ee7ebd52873f6ec063118408f0bd28a /xwayland/server.c | |
parent | a09d6494397bdd28a3254d2e646212afb5a3049c (diff) |
treewide: Migrate from sizeof(struct) to sizeof(*pointer) where practical
Diffstat (limited to 'xwayland/server.c')
-rw-r--r-- | xwayland/server.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xwayland/server.c b/xwayland/server.c index aee15002..d53f8ada 100644 --- a/xwayland/server.c +++ b/xwayland/server.c @@ -454,8 +454,7 @@ struct wlr_xwayland_server *wlr_xwayland_server_create( return NULL; } - struct wlr_xwayland_server *server = - calloc(1, sizeof(struct wlr_xwayland_server)); + struct wlr_xwayland_server *server = calloc(1, sizeof(*server)); if (!server) { return NULL; } |