lalapps/lalapps-gcc11-array-bounds-decl.patch

26 lines
778 B
Diff
Raw Normal View History

From 929605564d04da773fc4bab553360219077344b9 Mon Sep 17 00:00:00 2001
From: John Veitch <john.veitch@ligo.org>
Date: Wed, 12 May 2021 21:53:46 +0100
Subject: [PATCH] Fix coh_ptf array bounds declaration
---
src/ring/coh_PTF_utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ring/coh_PTF_utils.c b/src/ring/coh_PTF_utils.c
index c8a5a96226..0df577c64c 100644
--- a/src/ring/coh_PTF_utils.c
+++ b/src/ring/coh_PTF_utils.c
@@ -225,7 +225,7 @@ void coh_PTF_setup_null_stream(
/* Be aware this is separate from the null SNR! */
int coh_PTF_get_null_stream(
struct coh_PTF_params *params,
- REAL4TimeSeries **channel,
+ REAL4TimeSeries *channel[LAL_NUM_IFO+1],
REAL4 *Fplus,
REAL4 *Fcross,
REAL4 *timeOffsets )
--
GitLab