aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2009-07-17 22:34:16 +0000
committerGunter Knauf <gk@gknw.de>2009-07-17 22:34:16 +0000
commit95c2ab77e7f043952b38068f4869cf0ee881d0c8 (patch)
tree563d7e5c501d718da81d147943c30f21eba7e259 /src
parentd7f33b7e4e21c5f25cdfd9c475dcb52216c895e8 (diff)
trial to fix a win64 compiler warning.
Diffstat (limited to 'src')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index b3c470f44..58e5bf960 100644
--- a/src/main.c
+++ b/src/main.c
@@ -3056,11 +3056,11 @@ static int parseconfig(const char *filename,
/* We got a valid filename - get the directory part */
char *lastdirchar = strrchr(filebuffer, '\\');
if (lastdirchar) {
- int remaining;
+ size_t remaining;
*lastdirchar = 0;
/* If we have enough space, build the RC filename */
remaining = sizeof(filebuffer) - strlen(filebuffer);
- if ((int)strlen(CURLRC) < remaining - 1) {
+ if (strlen(CURLRC) < remaining - 1) {
snprintf(lastdirchar, remaining,
"%s%s", DIR_CHAR, CURLRC);
/* Don't bother checking if it exists - we do