Fix configure-time warnings for openssl test.

This commit is contained in:
Darren Tucker 2016-04-04 11:07:59 +10:00
parent 95687f5831
commit 815bcac0b9
1 changed files with 2 additions and 2 deletions

View File

@ -2428,8 +2428,8 @@ if test "x$openssl" = "xyes" ; then
if(fd == NULL)
exit(1);
if ((rc = fprintf(fd ,"%08x (%s)\n", SSLeay(),
SSLeay_version(SSLEAY_VERSION))) <0)
if ((rc = fprintf(fd, "%08lx (%s)\n", (unsigned long)SSLeay(),
SSLeay_version(SSLEAY_VERSION))) < 0)
exit(1);
exit(0);