ports/editors/ht/patches/patch-htmachohd_cc

12 lines
407 B
Text

Index: htmachohd.cc
--- htmachohd.cc.orig
+++ htmachohd.cc
@@ -313,7 +313,7 @@ static ht_view *htmachoheader_init(Bounds *b, File *fi
switch (macho_shared->header.cputype) {
case MACHO_CPU_TYPE_I386:
switch (c->flavor) {
- case -1:
+ default: //?
m->add_staticmask_ptable(macho_i386_thread_state, ofs+4*4/*4 32bit words in thread_header*/, isbigendian);
break;
}