httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thom May <t...@planetarytramp.net>
Subject [PATCH] squash a warning in modules/ssl/ssl_engine_log.c
Date Fri, 03 Jan 2003 23:52:52 GMT
on the 2_0_BRANCH;
/home/thom/apache2-2.0.43+cvs.1041634517/build-tree/apache2/modules/ssl/ssl_engine_log.c:
In function `ssl_log_ssl_error':
/home/thom/apache2-2.0.43+cvs.1041634517/build-tree/apache2/modules/ssl/ssl_engine_log.c:122:
warning: assignment makes pointer from integer without a cast

Cheers,
-Thom


Index: modules/ssl/ssl_engine_log.c
===================================================================
RCS file: /home/cvspublic/httpd-2.0/modules/ssl/ssl_engine_log.c,v
retrieving revision 1.21
diff -u -r1.21 ssl_engine_log.c
--- modules/ssl/ssl_engine_log.c        17 May 2002 11:24:17 -0000      1.21
+++ modules/ssl/ssl_engine_log.c        3 Jan 2003 23:48:33 -0000
@@ -119,7 +119,7 @@
 
     while ((e = ERR_get_error())) {
         char *err, *annotation;
-        err = ERR_error_string(e, NULL);
+        err = (char *)ERR_error_string(e, NULL);
         annotation = ssl_log_annotation(err);
 
         if (annotation) {


Mime
View raw message