Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:inescid:language
irstlm
irstlm-alias.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File irstlm-alias.patch of Package irstlm
--- trunk/src/ngramtable.cpp.orig 2015-01-22 06:51:11.000000000 -0700 +++ trunk/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) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor