From 543765e374961346d8bbca2adbf41ea178d369ec Mon Sep 17 00:00:00 2001 From: knarf Date: Wed, 5 Dec 2012 14:48:23 +0000 Subject: properly declare pointer as const in ITERATE_ON_ARRAY git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/LocalReduce/trunk@95 7daa882c-dc44-4453-834e-278d26b18e6a --- src/local_reductions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/local_reductions.h b/src/local_reductions.h index 533eef6..89d5e90 100644 --- a/src/local_reductions.h +++ b/src/local_reductions.h @@ -28,7 +28,7 @@ extern "C" { { \ const cctk_type * typed_vdata = (const cctk_type *)(in_data); \ out_type inval; \ - out_type * outval = (out_type *) out_num; \ + out_type * outval = (const out_type *) out_num; \ iter = 0; \ sum_indices = 0; \ num_points = 1; \ -- cgit v1.2.3