aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-09-23 04:17:44 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-09-23 04:17:44 +0200
commit68ccd085fce7233d7ecd7893f7856ded0165fe1c (patch)
tree6c0db4ca297a86ff77bc3facd98ba2e0c60693a8
parentd989dc6f49f0136ea69c10cdbaf3b4cdc8e31b6b (diff)
gui.c: Fix minor const-correctness issues
-rw-r--r--src/gui/src/gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/src/gui.c b/src/gui/src/gui.c
index 199b4a7..38e8565 100644
--- a/src/gui/src/gui.c
+++ b/src/gui/src/gui.c
@@ -81,7 +81,7 @@ static bool check_collision(const struct gui_common *const g,
bool gui_pressed(const struct gui_common *const g,
const struct input *const in,
const union peripheral *const p,
- const struct camera *cam, const short w, const short h)
+ const struct camera *const cam, const short w, const short h)
{
if (g->hidden)
return false;
@@ -110,7 +110,7 @@ bool gui_pressed(const struct gui_common *const g,
bool gui_released(const struct gui_common *const g,
const union peripheral *const p,
- const struct camera *cam, const short w, const short h)
+ const struct camera *const cam, const short w, const short h)
{
if (g->hidden)
return false;