--- trunk/src/ngramtable.cpp.orig 2014-08-12 03:27:59.000000000 -0600
+++ trunk/src/ngramtable.cpp 2014-09-09 12:30:00.000000000 -0600
@@ -1801,11 +1801,14 @@
}
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) {