lib: use size_t or int etc instead of longs

Since long is not using a consistent data size in curl builds, making it
often "waste" 32 bits.

Closes #10088
This commit is contained in:
Daniel Stenberg 2022-12-13 15:02:00 +01:00
parent 58f55ba57e
commit 57d2d9b6be
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
5 changed files with 14 additions and 14 deletions

View file

@ -334,7 +334,7 @@ size_t Curl_ftp_parselist(char *buffer, size_t size, size_t nmemb,
struct ftp_parselist_data *parser = ftpwc->parser;
struct fileinfo *infop;
struct curl_fileinfo *finfo;
unsigned long i = 0;
size_t i = 0;
CURLcode result;
size_t retsize = bufflen;