提交 c2e45f6d 编写于 作者: D Dr. Stephen Henson

Win32 fixes:

define LLONG properly for VC++.

stop compiler complaining about signed/unsigned mismatch in apps/engine.c
上级 f9a4ad4f
......@@ -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);
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册