summaryrefslogtreecommitdiff
path: root/devel/id-utils/patches/patch-an
blob: f72c8b8cc82037e9394d85563f4dce1c2dd0f154 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-an,v 1.1 2002/03/01 01:38:48 jmc Exp $

--- libidu/scanners.h.orig	Fri Mar  1 01:21:16 2002
+++ libidu/scanners.h	Fri Mar  1 01:21:30 2002
@@ -21,11 +21,11 @@
 
 #include "xobstack.h"
 
-#define MAX_LEVELS 5		/* log_8 of the max # of files: log_8 (32768) == 5 */
+#define MAX_LEVELS 16		/* log_8 of the max # of files: log_8 (2^32) == 16 */
 
 struct token
 {
-  unsigned short tok_count;
+  unsigned int tok_count;
   unsigned char tok_flags;
   unsigned char tok_hits[MAX_LEVELS];
   char tok_name[1];