summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Farago <sensej007@email.cz>2020-02-05 08:25:17 +0100
committerTomas Farago <sensej007@email.cz>2020-02-05 09:58:20 +0100
commit6f0f3e0b9f21b076ba89127ca13662b9bdaa1c2e (patch)
treeaaf7cd9df37b850250d6b0077f01297b50c8c8aa
parentcea58a20c8cf42b0c0914de776ad6051973289fa (diff)
downloadufo-filters-6f0f3e0b9f21b076ba89127ca13662b9bdaa1c2e.tar.gz
ufo-filters-6f0f3e0b9f21b076ba89127ca13662b9bdaa1c2e.tar.bz2
ufo-filters-6f0f3e0b9f21b076ba89127ca13662b9bdaa1c2e.tar.xz
ufo-filters-6f0f3e0b9f21b076ba89127ca13662b9bdaa1c2e.zip
genreco: Re-type default region correctly
-rw-r--r--src/ufo-general-backproject-task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ufo-general-backproject-task.c b/src/ufo-general-backproject-task.c
index c9e1178..6313bfc 100644
--- a/src/ufo-general-backproject-task.c
+++ b/src/ufo-general-backproject-task.c
@@ -270,7 +270,7 @@ compute_slice_region_##type (UfoGeneralBackprojectTaskPrivate *priv,
region_for_opencl[0] = (type) ufo_scarray_get_int (region, 0); \
region_for_opencl[1] = (type) ufo_scarray_get_int (region, 2); \
} else { \
- region_for_opencl[0] = (type) -(length / 2); \
+ region_for_opencl[0] = -((type) length / 2); \
region_for_opencl[1] = (type) 1; \
} \
}