]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
rtsp: match connection_check procedure with required signature
authorPatrick Monnerat <patrick@monnerat.net>
Sun, 11 Jan 2026 13:00:14 +0000 (14:00 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 12 Jan 2026 15:29:32 +0000 (16:29 +0100)
Follow-up to e3691612ea1acb2

Closes #20265

lib/rtsp.c

index f2bf647166f009af601e9556f973fbf9d520200b..35dc049778699c8419e01cea3ee2133b42154e40 100644 (file)
@@ -101,9 +101,9 @@ static CURLcode rtsp_rtp_write_resp_hd(struct Curl_easy *data,
 
 static CURLcode rtsp_setup_connection(struct Curl_easy *data,
                                       struct connectdata *conn);
-static unsigned int rtsp_conncheck(struct Curl_easy *data,
-                                   struct connectdata *check,
-                                   unsigned int checks_to_perform);
+static uint32_t rtsp_conncheck(struct Curl_easy *data,
+                               struct connectdata *check,
+                               uint32_t checks_to_perform);
 
 /* this returns the socket to wait for in the DO and DOING state for the multi
    interface and then we are always _sending_ a request and thus we wait for
@@ -191,9 +191,9 @@ static CURLcode rtsp_setup_connection(struct Curl_easy *data,
 /*
  * Function to check on various aspects of a connection.
  */
-static unsigned int rtsp_conncheck(struct Curl_easy *data,
-                                   struct connectdata *conn,
-                                   unsigned int checks_to_perform)
+static uint32_t rtsp_conncheck(struct Curl_easy *data,
+                               struct connectdata *conn,
+                               uint32_t checks_to_perform)
 {
   unsigned int ret_val = CONNRESULT_NONE;
   (void)data;