tandasat 9 years ago
parent f0e528b079
commit b3d38cfa71
  1. 2
      cs.c

@ -233,7 +233,7 @@ cs_err CAPSTONE_API cs_open(cs_arch arch, cs_mode mode, csh *handle)
ud->errnum = CS_ERR_OK; ud->errnum = CS_ERR_OK;
ud->arch = arch; ud->arch = arch;
ud->mode = mode; ud->mode = mode;
ud->big_endian = mode & CS_MODE_BIG_ENDIAN; ud->big_endian = (mode & CS_MODE_BIG_ENDIAN) != 0;
// by default, do not break instruction into details // by default, do not break instruction into details
ud->detail = CS_OPT_OFF; ud->detail = CS_OPT_OFF;

Loading…
Cancel
Save