summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXANTRONIX Development2022-03-11 17:53:56 -0500
committerXANTRONIX Development2022-03-11 17:53:56 -0500
commitd111e816ff25bc438fa2bce5db630e7df3cec945 (patch)
tree2f0245d73649def7d9486236974f695d029e9ee1 /src
parent9a3ccf5f3e1ff27f363d636db7463cd176918fe1 (diff)
downloadxas-d111e816ff25bc438fa2bce5db630e7df3cec945.tar.gz
xas-d111e816ff25bc438fa2bce5db630e7df3cec945.tar.bz2
xas-d111e816ff25bc438fa2bce5db630e7df3cec945.zip
Holy completely wrong types, Batman!
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);