From: Yang Tse Date: Sun, 14 Feb 2010 16:37:22 +0000 (+0000) Subject: fix compiler warning X-Git-Tag: curl-7_20_1~172 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2268657272e591948467135dcd713bd80e3212b3;p=thirdparty%2Fcurl.git fix compiler warning --- diff --git a/tests/server/rtspd.c b/tests/server/rtspd.c index c2910e07a6..efa0e0b4e0 100644 --- a/tests/server/rtspd.c +++ b/tests/server/rtspd.c @@ -957,13 +957,13 @@ static int send_doc(curl_socket_t sock, struct httprequest *req) return 0; } else { - error = getpart(&buffer, &count, "reply", partbuf, stream); + error = getpart(&ptr, &count, "reply", partbuf, stream); fclose(stream); if(error) { logmsg("getpart() failed with error: %d", error); return 0; } - ptr = (char *)buffer; + buffer = ptr; } if(got_exit_signal) {