diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-05-02 13:31:52 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-05-02 13:31:52 (GMT) |
commit | 1bb8d8109e7a51a30c16e5dc1481bf83ba42eda6 (patch) | |
tree | e6d1ed87ca626d0945df3ad76d9185e02f6aae7f /Source/CTest/Curl/base64.c | |
parent | 7cefbad8dc4f6aa73781a98e758679b5c5dc4fbe (diff) | |
download | CMake-1bb8d8109e7a51a30c16e5dc1481bf83ba42eda6.zip CMake-1bb8d8109e7a51a30c16e5dc1481bf83ba42eda6.tar.gz CMake-1bb8d8109e7a51a30c16e5dc1481bf83ba42eda6.tar.bz2 |
ERR: Remove warnings on Visual Studio 7
Diffstat (limited to 'Source/CTest/Curl/base64.c')
-rw-r--r-- | Source/CTest/Curl/base64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/Curl/base64.c b/Source/CTest/Curl/base64.c index 95d4cf6..1e8da91 100644 --- a/Source/CTest/Curl/base64.c +++ b/Source/CTest/Curl/base64.c @@ -127,7 +127,7 @@ int Curl_base64_encode(const void *inp, int insize, char **outptr) char *indata = (char *)inp; if(0 == insize) - insize = strlen(indata); + insize = (int)strlen(indata); base64data = output = (char*)malloc(insize*4/3+4); if(NULL == output) @@ -177,7 +177,7 @@ int Curl_base64_encode(const void *inp, int insize, char **outptr) *output=0; *outptr = base64data; /* make it return the actual data memory */ - return strlen(base64data); /* return the length of the new data */ + return (int)strlen(base64data); /* return the length of the new data */ } /* ---- End of Base64 Encoding ---- */ |