projects
/
SXSI
/
TextCollection.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed uninitialized read while Save()
[SXSI/TextCollection.git]
/
CSA.h
diff --git
a/CSA.h
b/CSA.h
index
4303b53
..
ec6e890
100644
(file)
--- a/
CSA.h
+++ b/
CSA.h
@@
-34,6
+34,15
@@
#include <alphabet_mapper.h>
#include <static_sequence.h>
+// Re-define word size to ulong:
+#undef W
+#if __WORDSIZE == 64
+# define W 64
+#else
+# define W 32
+#endif
+
+
/**
* Implementation of the TextCollection interface
*