diff options
Diffstat (limited to 'lib/elder_force_index.c')
| -rw-r--r-- | lib/elder_force_index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/elder_force_index.c b/lib/elder_force_index.c index 23cce66..c2b367c 100644 --- a/lib/elder_force_index.c +++ b/lib/elder_force_index.c @@ -31,7 +31,7 @@ int ts_elder_force_index( { TS_PROLOGUE( ts_elder_force_index_p ); if ( !c ) return -1; - uint_t k = ((ts_elder_force_index_params_t *)c)->k; + uint_t k = ((ts_elder_force_index_params_t const *)c)->k; if (k == 0 || n < k) return -1; fp_t a = 1.0 / k; |