Update conversion_alleg.cpp

fix "Program returns random data in a function"