Revision | 50d7e2e5f4caafb1205f1df33f0eae731d517de1 (tree) |
---|---|
Time | 2014-06-23 23:59:39 |
Author | hikarupsp <hikarupsp@user...> |
Commiter | hikarupsp |
メモリアロケートバグの修正
@@ -567,7 +567,7 @@ int CHNCPU_Op_CompareIReg_BindOperand(CHNCPU_RuntimeEnvironment *env, CHNCPU_OpT | ||
567 | 567 | { |
568 | 568 | CHNCPU_OpCache_CompareIReg *opCache; |
569 | 569 | |
570 | - opCache = malloc(sizeof(CHNCPU_OpCache_TernaryReg)); | |
570 | + opCache = malloc(sizeof(CHNCPU_OpCache_CompareIReg)); | |
571 | 571 | op->opCache = opCache; |
572 | 572 | |
573 | 573 | opCache->rSrc1 = CH4Reader_ReadNextAsUINT(env->appbinReader); |