fix CodeGenerator::resetSize()
diff --git a/readme.md b/readme.md
index 0cd6605..03e9cbe 100644
--- a/readme.md
+++ b/readme.md
@@ -1,5 +1,5 @@
 
-Xbyak 5.42 ; JIT assembler for x86(IA32), x64(AMD64, x86-64) by C++
+Xbyak 5.43 ; JIT assembler for x86(IA32), x64(AMD64, x86-64) by C++
 =============
 
 Abstract
@@ -332,6 +332,7 @@
 
 History
 -------------
+* 2017/May/14 ver 5.43 fix CodeGenerator::resetSize() (thanks to gibbed)
 * 2017/May/13 ver 5.42 add movs{b,w,d,q}
 * 2017/Jan/26 ver 5.41 add prefetchwt1 and support for scale == 0(thanks to rsdubtso)
 * 2016/Dec/14 ver 5.40 add Label::getAddress() method to get the pointer specified by the label
diff --git a/readme.txt b/readme.txt
index b88cf0b..507d615 100644
--- a/readme.txt
+++ b/readme.txt
@@ -1,5 +1,5 @@
 

-    C++用x86(IA-32), x64(AMD64, x86-64) JITアセンブラ Xbyak 5.42

+    C++用x86(IA-32), x64(AMD64, x86-64) JITアセンブラ Xbyak 5.43

 

 -----------------------------------------------------------------------------

 ◎概要

@@ -343,6 +343,7 @@
 -----------------------------------------------------------------------------

 ◎履歴

 

+2017/05/14 ver 5.43 CodeGenerator::resetSize()修正(thanks to gibbed)

 2017/05/13 ver 5.42 movs{b,w,d,q}追加

 2017/01/26 ver 5.41 prefetcwt1追加とscale == 0対応(thanks to rsdubtso)

 2016/12/14 ver 5.40 Labelが示すアドレスを取得するLabel::getAddress()追加

diff --git a/xbyak/xbyak.h b/xbyak/xbyak.h
index 7b22c02..ba7e48d 100644
--- a/xbyak/xbyak.h
+++ b/xbyak/xbyak.h
@@ -105,7 +105,7 @@
 
 enum {
 	DEFAULT_MAX_CODE_SIZE = 4096,
-	VERSION = 0x5420 /* 0xABCD = A.BC(D) */
+	VERSION = 0x5430 /* 0xABCD = A.BC(D) */
 };
 
 #ifndef MIE_INTEGER_TYPE_DEFINED
diff --git a/xbyak/xbyak_mnemonic.h b/xbyak/xbyak_mnemonic.h
index 2cf91f6..ebc2a43 100644
--- a/xbyak/xbyak_mnemonic.h
+++ b/xbyak/xbyak_mnemonic.h
@@ -1,4 +1,4 @@
-const char *getVersionString() const { return "5.42"; }
+const char *getVersionString() const { return "5.43"; }
 void adc(const Operand& op, uint32 imm) { opRM_I(op, imm, 0x10, 2); }
 void adc(const Operand& op1, const Operand& op2) { opRM_RM(op1, op2, 0x10); }
 void adcx(const Reg32e& reg, const Operand& op) { opGen(reg, op, 0xF6, 0x66, isREG32_REG32orMEM, NONE, 0x38); }