diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-11-30 23:11:44 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-11-30 23:12:24 +0100 |
commit | 397a634ebd027c5f20d365327d9d340679f294d8 (patch) | |
tree | 60cb93e79688dbd3f9a9b16c08aa9f92f309010a /lib | |
parent | b14ebbcb173b9eea9122bd192fa9a908192ed080 (diff) |
smb.c: use size_t as input argument types for msg sizes
This fixes warnings about conversions to int
Diffstat (limited to 'lib')
-rw-r--r-- | lib/smb.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |