summaryrefslogtreecommitdiffstats
path: root/Source/CTest/Curl/getdate.c
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-05-02 13:31:52 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-05-02 13:31:52 (GMT)
commit1bb8d8109e7a51a30c16e5dc1481bf83ba42eda6 (patch)
treee6d1ed87ca626d0945df3ad76d9185e02f6aae7f /Source/CTest/Curl/getdate.c
parent7cefbad8dc4f6aa73781a98e758679b5c5dc4fbe (diff)
downloadCMake-1bb8d8109e7a51a30c16e5dc1481bf83ba42eda6.zip
CMake-1bb8d8109e7a51a30c16e5dc1481bf83ba42eda6.tar.gz
CMake-1bb8d8109e7a51a30c16e5dc1481bf83ba42eda6.tar.bz2
ERR: Remove warnings on Visual Studio 7
Diffstat (limited to 'Source/CTest/Curl/getdate.c')
-rw-r--r--Source/CTest/Curl/getdate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/Curl/getdate.c b/Source/CTest/Curl/getdate.c
index fe00823..6e521bc 100644
--- a/Source/CTest/Curl/getdate.c
+++ b/Source/CTest/Curl/getdate.c
@@ -728,7 +728,7 @@ yynewstate:
#endif
/* Get the current used size of the three stacks, in elements. */
- int size = yyssp - yyss + 1;
+ int size = (int)(yyssp - yyss + 1);
#ifdef yyoverflow
/* Each stack pointer address is followed by the size of
@@ -1855,7 +1855,7 @@ LookupWord (yylval, buff)
}
/* Strip off any plural and try the units table again. */
- i = strlen (buff) - 1;
+ i = (int)strlen (buff) - 1;
if (buff[i] == 's')
{
buff[i] = '\0';