OSSP CVS Repository

ossp - Check-in [4370]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 4370
Date: 2004-Jan-18 20:39:11 (local)
2004-Jan-18 19:39:11 (UTC)
User:rse
Branch:
Comment: make both C and C++ happy by doing strange double-cast
Tickets:
Inspections:
Files:
ossp-pkg/uuid/uuid_md5.c      1.5 -> 1.6     1 inserted, 1 deleted

ossp-pkg/uuid/uuid_md5.c 1.5 -> 1.6

--- uuid_md5.c   2004/01/18 19:22:54     1.5
+++ uuid_md5.c   2004/01/18 19:39:11     1.6
@@ -435,7 +435,7 @@
 
     bufptr = buf;
     buflen = sizeof(buf);
-    if ((rc = md5_store(md5, (void **)&bufptr, &buflen)) != MD5_RC_OK)
+    if ((rc = md5_store(md5, (void **)((void *)&bufptr), &buflen)) != MD5_RC_OK)
         return rc;
 
     for (i = 0; i < (int)buflen; i++) {

CVSTrac 2.0.1