summaryrefslogtreecommitdiff
path: root/mail/yatsvrs/patches/patch-bl
blob: 903f14c00b2d3e894a1a8f6cb9137ade166d8375 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-bl,v 1.1 2002/04/01 04:43:34 dmcmahill Exp $

--- common/base64.c.orig	Fri Jun 22 03:49:56 2001
+++ common/base64.c
@@ -110,7 +110,7 @@
   p = strchr(Base64Charset, c);
   if (p == NULL)
     return 0;
-  return (((unsigned)p - (unsigned)Base64Charset) & 077);
+  return (((unsigned long)p - (unsigned long)Base64Charset) & 077);
 }
 
 int Base64DecodeLine(pDst0, pnLen, pSrc0)