From 7c0440c148af2559f9ee8f67db9bbd1a5a4d89ba Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Mon, 5 Dec 2022 16:24:28 -0300 Subject: [PATCH] Update README.md --- docs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/README.md b/docs/README.md index 5a6b565c..ce3dbefd 100644 --- a/docs/README.md +++ b/docs/README.md @@ -2348,7 +2348,7 @@ Usage example: struct mg_str str1 = mg_str("hello"); struct mg_str str2 = mg_strdup(str1); //... -free(str2.ptr); +free((void *)str2.ptr); ```