summaryrefslogtreecommitdiff
path: root/textproc/sphinxsearch/files/patch-src_sphinx.h
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/sphinxsearch/files/patch-src_sphinx.h')
-rw-r--r--textproc/sphinxsearch/files/patch-src_sphinx.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/sphinxsearch/files/patch-src_sphinx.h b/textproc/sphinxsearch/files/patch-src_sphinx.h
new file mode 100644
index 000000000000..ce7db8444ee9
--- /dev/null
+++ b/textproc/sphinxsearch/files/patch-src_sphinx.h
@@ -0,0 +1,11 @@
+--- src/sphinx.h.orig 2018-02-03 10:16:36 UTC
++++ src/sphinx.h
+@@ -433,7 +433,7 @@ class CSphLowercaser (public)
+ {
+ if ( iCode<0 || iCode>=MAX_CODE )
+ return iCode;
+- register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ];
++ int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ];
+ if ( pChunk )
+ return pChunk [ iCode & CHUNK_MASK ];
+ return 0;