From ffc3334847552068c8738a64c6d2d1a69e2b69ee Mon Sep 17 00:00:00 2001 From: Oliver Hahn Date: Tue, 11 May 2021 11:53:17 +0200 Subject: [PATCH] changed a char* to const char* --- external/panphasia_ho/high_order_panphasia_routines.c | 2 +- external/panphasia_ho/panphasia_functions.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/external/panphasia_ho/high_order_panphasia_routines.c b/external/panphasia_ho/high_order_panphasia_routines.c index c2c471a..054194d 100644 --- a/external/panphasia_ho/high_order_panphasia_routines.c +++ b/external/panphasia_ho/high_order_panphasia_routines.c @@ -1235,7 +1235,7 @@ int PANPHASIA_compute_coefficients_(size_t *xstart, size_t *ystart, size_t *zsta //====================================================================================== //====================================================================================== -int parse_and_validate_descriptor_(char *descriptor, int *pan_mode) +int parse_and_validate_descriptor_(const char *descriptor, int *pan_mode) { char *token; diff --git a/external/panphasia_ho/panphasia_functions.h b/external/panphasia_ho/panphasia_functions.h index 7826146..e7622a4 100644 --- a/external/panphasia_ho/panphasia_functions.h +++ b/external/panphasia_ho/panphasia_functions.h @@ -49,7 +49,7 @@ void compute_all_properties_of_a_panphasia_cell_(size_t *level, size_t *j1, size void return_root_legendre_coefficients_(PAN_REAL *root); -int parse_and_validate_descriptor_(char *, int *); +int parse_and_validate_descriptor_(const char *, int *); int demo_descriptor_(); long long int compute_check_digit_(); int PANPHASIA_init_descriptor_(char *descriptor, int *verbose);