From 49430882d76fb3a6fc4917721e1c68c099e340ad Mon Sep 17 00:00:00 2001 From: Pierre POMES Date: Sun, 8 Sep 2024 20:49:55 -0400 Subject: [PATCH] Fix clang macos warning --- main/myanon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/myanon.c b/main/myanon.c index a0c4fea..839b328 100644 --- a/main/myanon.c +++ b/main/myanon.c @@ -267,7 +267,7 @@ anonymized_res_st anonymize_token(bool quoted, anon_base_st *config, char *token case AM_SUBSTRING: res_st.len = MIN(worktokenlen, config->len); mysubstr((char *)&(res_st.data[0]), worktoken, sizeof(res_st.data), res_st.len); - res_st.len = strlen(&(res_st.data[0])); + res_st.len = strlen((char *)&(res_st.data[0])); DEBUG_MSG("%d, %d, %d, %s\n", worktokenlen, config->len, res_st.len, res_st.data); break;