summaryrefslogtreecommitdiff
path: root/mail/xfmail/patches/patch-af
blob: 88e00948f15188b4764e9b1125fe4ab12c168587 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-af,v 1.1 2001/10/12 19:49:26 tron Exp $

--- mail/cache.c.orig	Tue Jan 18 02:38:20 2000
+++ mail/cache.c	Fri Oct 12 21:47:10 2001
@@ -463,7 +463,7 @@
     if(dbm_error(db) || (msgdata.dptr == NULL) || (msgdata.dsize == 0))
         return NULL;
 
-    msgbuf = msgdata.dptr;
+    msgbuf = (char *)msgdata.dptr;
     msgbuflen = 0;
 
     memcpy(&i, msgbuf + msgbuflen, sizeof(i));