diff options
author | Daniil Cherednik <dan.cherednik@gmail.com> | 2019-10-06 23:29:53 +0300 |
---|---|---|
committer | Daniil Cherednik <dan.cherednik@gmail.com> | 2019-10-06 23:29:53 +0300 |
commit | 2e1d45d0101d08698d8a698d073998a0ccbb8897 (patch) | |
tree | 893b7f54b0fb8fcf1ae688d4deb2f7431411706b | |
parent | 3e33324de42366389678eca16250687b33aa5692 (diff) | |
download | libpqf-2e1d45d0101d08698d8a698d073998a0ccbb8897.tar.gz |
missed const qualifier
-rw-r--r-- | include/libpqf.h | 2 | ||||
-rw-r--r-- | src/pqf.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/libpqf.h b/include/libpqf.h index a9c05af..a855a5b 100644 --- a/include/libpqf.h +++ b/include/libpqf.h @@ -37,7 +37,7 @@ typedef enum { extern "C" { #endif -pqf_status_t pqf_create_a_ctx(uint16_t subband_sz, uint16_t subbands_num, uint16_t proto_sz, float* proto, pqf_a_ctx_t* ctx); +pqf_status_t pqf_create_a_ctx(uint16_t subband_sz, uint16_t subbands_num, uint16_t proto_sz, const float* proto, pqf_a_ctx_t* ctx); void pqf_free_a_ctx(pqf_a_ctx_t ctx); uint16_t pqf_get_frame_sz(pqf_a_ctx_t ctx); @@ -131,7 +131,7 @@ static pqf_status_t check_params(uint16_t subband_sz, uint16_t subbands_num, uin return PQF_SUCCESS; } -pqf_status_t pqf_create_a_ctx(uint16_t subband_sz, uint16_t subbands_num, uint16_t proto_sz, float* proto, pqf_a_ctx_t* ctx_result) +pqf_status_t pqf_create_a_ctx(uint16_t subband_sz, uint16_t subbands_num, uint16_t proto_sz, const float* proto, pqf_a_ctx_t* ctx_result) { uint16_t i = 0; |