summaryrefslogtreecommitdiffstats
path: root/c_layer/cdsbootstrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'c_layer/cdsbootstrap.c')
-rw-r--r--c_layer/cdsbootstrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c_layer/cdsbootstrap.c b/c_layer/cdsbootstrap.c
index bbecc08..a1b65ca 100644
--- a/c_layer/cdsbootstrap.c
+++ b/c_layer/cdsbootstrap.c
@@ -9,7 +9,7 @@ int cdsBootstrapPointFunction
cds_bootstrap_ctx *context = (cds_bootstrap_ctx*)data;
- TCurve *discountCurve = context->discountCurve;
+ const TCurve *discountCurve = context->discountCurve;
TCurve *cdsCurve = context->cdsCurve;
TDate cdsBaseDate = cdsCurve->fBaseDate;
TDate stepinDate = context->stepinDate;