--- src/ngramtable.cpp.orig 2015-01-22 06:51:11.000000000 -0700
+++ src/ngramtable.cpp 2015-01-26 20:00:00.000000000 -0700
@@ -1803,11 +1803,14 @@ long long ngramtable::getfreq(node nd,NO
}
table ngramtable::mtable(node nd) {
- char v[PTRSIZE];;
+ union {
+ char v[PTRSIZE];
+ table t;
+ } value;
for (int i=0; i<PTRSIZE; i++)
- v[i]=nd[MTAB_OFFS+i];
+ value.v[i]=nd[MTAB_OFFS+i];
- return *(table *)v;
+ return value.t;
}
table ngramtable::mtable(node nd,table value) {