summaryrefslogtreecommitdiff
path: root/security/cyrus-saslauthd/patches/patch-ah
blob: cd3e377474858cc428f01f192cb189ca868e37df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ah,v 1.1 2006/08/11 12:51:32 taca Exp $

--- saslcache.c.orig	2003-03-29 04:59:24.000000000 +0900
+++ saslcache.c
@@ -137,7 +137,7 @@ int main(int argc, char **argv) {
 	}
 
 	table_stats = shm_base + 64;
-	(char *)table = (char *)table_stats + 128;
+	table = (struct bucket *)((char *)table_stats + 128);
 
 	if (dump_stat_info == 0 && dump_user_info == 0)
 		dump_stat_info = 1;