Update converter.cpp

Fixed error for 32-bit conversion and 64-bit conversion