You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Brad Nicholes <BN...@novell.com> on 2005/07/08 17:58:59 UTC

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

+1 netware

Brad

>>> wrowe@apache.org Friday, July 08, 2005 9:52:02 AM >>>
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);