summaryrefslogtreecommitdiff
path: root/textproc/sphinxsearch/files/patch-src_sphinxaot.cpp
blob: 8688e447a034f0431be784f22735bf321a6054e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/sphinxaot.cpp.orig	2018-02-03 10:35:17 UTC
+++ src/sphinxaot.cpp
@@ -1133,7 +1133,7 @@ static inline int Utf8ToWin1251 ( BYTE * pOut, const B
 		assert ( pWord[1]>=0x80 && pWord[1]<0xC0 );
 
 		// table index D0 80..BF to 0..3F, and D1 80..BF to 40..7F
-		register BYTE uWin = dTable [ ( pWord[1] & 0x7F ) + ( ( pWord[0] & 1 )<<6 ) ];
+		BYTE uWin = dTable [ ( pWord[1] & 0x7F ) + ( ( pWord[0] & 1 )<<6 ) ];
 		pWord += 2;
 
 		if ( !uWin )