diff options
author | XANTRONIX Development | 2022-03-11 17:53:56 -0500 |
---|---|---|
committer | XANTRONIX Development | 2022-03-11 17:53:56 -0500 |
commit | d111e816ff25bc438fa2bce5db630e7df3cec945 (patch) | |
tree | 2f0245d73649def7d9486236974f695d029e9ee1 | |
parent | 9a3ccf5f3e1ff27f363d636db7463cd176918fe1 (diff) | |
download | xas-d111e816ff25bc438fa2bce5db630e7df3cec945.tar.gz xas-d111e816ff25bc438fa2bce5db630e7df3cec945.tar.bz2 xas-d111e816ff25bc438fa2bce5db630e7df3cec945.zip |
Holy completely wrong types, Batman!
-rw-r--r-- | src/spatial.c | 7 |
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); |