summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/spatial.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/spatial.c b/src/spatial.c
index 1da1bdc..502c0f4 100644
--- a/src/spatial.c
+++ b/src/spatial.c
@@ -252,8 +252,11 @@ ssize_t scene_fill(xas_spatial_scene *scene,
}
for (i=0; i<readlen; i++) {
- size_t value_l, index_l,
- value_r, index_r;
+ int16_t value_l,
+ value_r;
+
+ size_t index_l,
+ index_r;
int within_cone_l = within_cone(obj->point, cone_l),
within_cone_r = within_cone(obj->point, cone_r);