X-Git-Url: http://git.silcnet.org/gitweb/?p=crypto.git;a=blobdiff_plain;f=lib%2Fsilchttp%2Fsilchttpserver.c;h=661f1d9e1573bd4439d40967a09aec9e6390e705;hp=cd94c407f4f3d7f53dfd06961c2daf46eb8a1400;hb=b8bc694b8262be48d5db0cd38a1a4315598e14ca;hpb=e8843d383c6557e50ae4ca6ccf201ea49d96cea5 diff --git a/lib/silchttp/silchttpserver.c b/lib/silchttp/silchttpserver.c index cd94c407..661f1d9e 100644 --- a/lib/silchttp/silchttpserver.c +++ b/lib/silchttp/silchttpserver.c @@ -194,7 +194,7 @@ static SilcBool silc_http_server_parse(SilcHttpServer httpd, /* Check we have received all data */ cl = silc_mime_get_field(conn->curheaders, "Content-Length"); - if (cl && sscanf(cl, "%lu", (unsigned long *)&cll) == 1) { + if (cl && sscanf(cl, "%lu", &cll) == 1) { if (data_len < cll) { /* More data to come */ silc_mime_free(conn->curheaders);