aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-08-01 02:24:28 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-08-01 02:24:28 +0200
commit3a3fdbe8a5bfe24c63b6f31071de5739ab49ed49 (patch)
treec4fa76bc4d65deccdc03ae89a2b8841a399f8148
parent7428e3fa7fe4f60fb0001218ed46a8fcc6d212da (diff)
http.c: Remove useless explicit cast
-rw-r--r--http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/http.c b/http.c
index df54c98..ec5cc7f 100644
--- a/http.c
+++ b/http.c
@@ -336,7 +336,7 @@ end:
static int start_line(struct http_ctx *const h)
{
- const char *const line = (const char *)h->line;
+ const char *const line = h->line;
if (!*line)
{