aboutsummaryrefslogtreecommitdiff
path: root/src/intensities.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-12-16 10:36:53 -0800
committerThomas White <taw@bitwiz.org.uk>2009-12-16 10:36:53 -0800
commitd84fd5ff386a1393bbec3b67c8f165c95613a53e (patch)
treefcba5c62793a58522f17a3a860f997abc2e72ecc /src/intensities.c
parent5ee02bbd3e86bb6b83a457009ed0a4b5d864dec9 (diff)
Add number-viewing window, use signed values as well
Diffstat (limited to 'src/intensities.c')
-rw-r--r--src/intensities.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intensities.c b/src/intensities.c
index 1c6bb4ae..b48cbba8 100644
--- a/src/intensities.c
+++ b/src/intensities.c
@@ -34,7 +34,7 @@ struct reflhit {
};
-static int sum_nearby_points(uint16_t *data, int width, int x, int y)
+static int sum_nearby_points(int16_t *data, int width, int x, int y)
{
int dx, dy;
int intensity = 0;