Win32 fixes:

define LLONG properly for VC++.

stop compiler complaining about signed/unsigned mismatch in apps/engine.c
This commit is contained in:
Dr. Stephen Henson 2001-04-29 16:30:59 +00:00
parent f9a4ad4fa6
commit c2e45f6ddf
2 changed files with 7 additions and 3 deletions

View File

@ -237,8 +237,8 @@ static int util_verbose(ENGINE *e, int verbose, BIO *bio_out, const char *indent
if(verbose == 1)
{
/* We're just listing names, comma-delimited */
if((xpos > strlen(indent)) &&
(xpos + strlen(name) > line_wrap))
if((xpos > (int)strlen(indent)) &&
(xpos + (int)strlen(name) > line_wrap))
{
BIO_printf(bio_out, "\n");
xpos = BIO_printf(bio_out, indent);

View File

@ -109,7 +109,11 @@
#endif
#if HAVE_LONG_LONG
#define LLONG long long
# if defined(OPENSSL_SYS_WIN32) && !defined(__GNUC__)
# define LLONG _int64
# else
# define LLONG long long
# endif
#else
#define LLONG long
#endif