mirror of
https://github.com/curl/curl.git
synced 2026-08-25 02:03:36 +03:00
Variable type cleanups to please the picky MIPSPro compiler.
This commit is contained in:
parent
f05d47ddd6
commit
090b89cc76
6 changed files with 18 additions and 16 deletions
|
|
@ -39,14 +39,15 @@
|
|||
/* The last #include file should be: */
|
||||
#include "memdebug.h"
|
||||
|
||||
char *curl_escape(const char *string, int length)
|
||||
char *curl_escape(const char *string, int inlength)
|
||||
{
|
||||
size_t alloc = (length?(size_t)length:strlen(string))+1;
|
||||
size_t alloc = (inlength?(size_t)inlength:strlen(string))+1;
|
||||
char *ns;
|
||||
char *testing_ptr = NULL;
|
||||
unsigned char in;
|
||||
size_t newlen = alloc;
|
||||
int strindex=0;
|
||||
size_t length;
|
||||
|
||||
ns = malloc(alloc);
|
||||
if(!ns)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue