Small bug fix in tstring.cpp

Removed a cast that may corrupt data.