aboutsummaryrefslogblamecommitdiff
path: root/textproc/sphinxsearch/files/patch-src_sphinxstd.h
blob: 21c1422ebd5e919bbb04e27e0c1dba417db7ab66 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                        
--- src/sphinxstd.h.orig	2018-02-03 10:22:51 UTC
+++ src/sphinxstd.h
@@ -274,7 +274,7 @@ inline int sphBitCount ( DWORD n )
 	// MIT HACKMEM count
 	// works for 32-bit numbers only
 	// fix last line for 64-bit numbers
-	register DWORD tmp;
+	DWORD tmp;
 	tmp = n - ((n >> 1) & 033333333333) - ((n >> 2) & 011111111111);
 	return ( (tmp + (tmp >> 3) ) & 030707070707) % 63;
 }