This fixed it for me. There's one instance of itoa that you shouldn't replace around line 2583 (after adding the function linked). Think you'd have to add another function that accepts more parameters to handle that call, but don't know enough c++ to be sure. :p
http://eqemulator.org/forums/showthread.php?t=36981