diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2017-12-28 16:28:19 +0100 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2017-12-28 16:28:19 +0100 |
commit | 8e24aaa3c6959089f0459e03f01c7b1f638d6027 (patch) | |
tree | 947134beedaa8368c8ab702ea9a599dc155ccd27 /examples | |
parent | da3ef46daf6ce678ca9e12ef184d281009b9f91f (diff) |
style: fix sizeof() calls without parentheses
Diffstat (limited to 'examples')
-rw-r--r-- | examples/screenshot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/screenshot.c b/examples/screenshot.c index a887d1d7..66e5c75c 100644 --- a/examples/screenshot.c +++ b/examples/screenshot.c @@ -95,7 +95,7 @@ static void handle_global(void *data, struct wl_registry *registry, static struct screenshooter_output *output; if (strcmp(interface, "wl_output") == 0) { - output = calloc(1, sizeof *output); + output = calloc(1, sizeof(*output)); output->output = wl_registry_bind(registry, name, &wl_output_interface, 1); wl_list_insert(&output_list, &output->link); |