MacOSX buildfix and warning fix

This commit is contained in:
Henrik Rydgård 2016-01-01 13:05:56 +01:00
parent 614eff1931
commit 3492c05771
2 changed files with 2 additions and 2 deletions

View File

@ -175,7 +175,7 @@ ud_syn_print_imm(struct ud* u, const struct ud_operand *op)
}
uint64_t
ud_syn_rip_target(struct ud *u, struct ud_operand *opr) {
ud_syn_rip_target(struct ud *u, const struct ud_operand *opr) {
return (u->pc + opr->lval.sdword);
}

View File

@ -426,7 +426,7 @@ void blendPixel(const Kernel_3x3& ker,
#define h get_h<rotDeg>(ker)
#define i get_i<rotDeg>(ker)
#ifdef _DEBUG
#if defined(_DEBUG) && !defined(__APPLE__)
if (breakIntoDebugger)
__debugbreak(); //__asm int 3;
#endif