summaryrefslogtreecommitdiffstats
path: root/lib/ichimoku.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ichimoku.c')
-rw-r--r--lib/ichimoku.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ichimoku.c b/lib/ichimoku.c
index 76f85e6..da63626 100644
--- a/lib/ichimoku.c
+++ b/lib/ichimoku.c
@@ -42,7 +42,7 @@ int ts_ichimoku(
if ( c )
{
- ts_ichimoku_params_t *p = (ts_ichimoku_params_t *)c;
+ ts_ichimoku_params_t const *p = (ts_ichimoku_params_t const *)c;
if ( p->tenkan > 0 ) tenkan = p->tenkan;
if ( p->kijun > 0 ) kijun = p->kijun;
if ( p->senkou > 0 ) senkou = p->senkou;