From 3e3032cfa044268cee76735823755db274025021 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Tue, 13 Jun 2023 18:27:10 -0700 Subject: *: smattering of random small fixes to silence -Wall I thought the build was already using -Wall but that seems to not be the case, maybe got lost somewhere along the line or messed up in configure.ac After forcing a build with -Wall -Werror, these showed up. Fixed up in the obvious way, nothing too scary. --- src/modules/ray/ray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/ray') diff --git a/src/modules/ray/ray.c b/src/modules/ray/ray.c index 9ed023d..ea44491 100644 --- a/src/modules/ray/ray.c +++ b/src/modules/ray/ray.c @@ -86,7 +86,7 @@ static ray_object_t lights[] = { .type = RAY_OBJECT_TYPE_LIGHT, .brightness = 15.0f, .emitter = { - .point.type = RAY_LIGHT_EMITTER_TYPE_POINT, + .point.type = RAY_OBJECT_TYPE_POINT, .point.center = { .x = 3.0f, .y = 3.0f, .z = 3.0f }, .point.surface = { .color = { .x = 1.0f, .y = 1.0f, .z = 1.0f }, -- cgit v1.2.3