fixes warning

This commit is contained in:
SuperNovaa41 2024-01-16 10:37:32 -05:00
parent a1df279374
commit 753e61dfa0

View File

@ -17,7 +17,7 @@ void check_valid_query(cJSON* numfound)
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
void get_authors(cJSON* bookinfo, char authors[256]) void get_authors(cJSON* bookinfo, char* authors)
{ {
char* temp_author; char* temp_author;
size_t new_len; size_t new_len;