Skip to content
Snippets Groups Projects
Commit 397a634e authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

smb.c: use size_t as input argument types for msg sizes

This fixes warnings about conversions to int
parent b14ebbcb
No related branches found
No related tags found
No related merge requests found
......@@ -303,7 +303,7 @@ static void smb_pop_message(struct connectdata *conn)
}
static void smb_format_message(struct connectdata *conn, struct smb_header *h,
unsigned char cmd, int len)
unsigned char cmd, size_t len)
{
struct smb_conn *smbc = &conn->proto.smbc;
struct smb_request *req = conn->data->req.protop;
......@@ -365,7 +365,7 @@ static CURLcode smb_flush(struct connectdata *conn)
}
static CURLcode smb_send_message(struct connectdata *conn, unsigned char cmd,
const void *msg, int msg_len)
const void *msg, size_t msg_len)
{
struct smb_conn *smbc = &conn->proto.smbc;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment