You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2005/07/08 17:52:02 UTC

svn commit: r209823 - /httpd/httpd/trunk/modules/ssl/ssl_scache_dbm.c

Author: wrowe
Date: Fri Jul  8 08:52:02 2005
New Revision: 209823

URL: http://svn.apache.org/viewcvs?rev=209823&view=rev
Log:

  No UCHAR, per Joe

Modified:
    httpd/httpd/trunk/modules/ssl/ssl_scache_dbm.c

Modified: httpd/httpd/trunk/modules/ssl/ssl_scache_dbm.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/ssl/ssl_scache_dbm.c?rev=209823&r1=209822&r2=209823&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_scache_dbm.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_scache_dbm.c Fri Jul  8 08:52:02 2005
@@ -244,7 +244,8 @@
         return NULL;
     }
     /* Cast needed, ucpData may be const */
-    memcpy((UCHAR *)ucpData, (char *)dbmval.dptr+sizeof(time_t), nData);
+    memcpy((unsigned char *)ucpData, 
+           (char *)dbmval.dptr + sizeof(time_t), nData);
     memcpy(&expiry, dbmval.dptr, sizeof(time_t));
 
     apr_dbm_close(dbm);