View | Details | Raw Unified
Collapse All | Expand All

(-) truecrypt-5.0-source.org/Platform/StringConverter.cpp (+4 lines)
 Lines 32-43    Link Here 
		return s.str();
		return s.str();
	}
	}
#if __WORDSIZE == 32
	wstring StringConverter::FromNumber (int64 number)
	wstring StringConverter::FromNumber (int64 number)
	{
	{
		wstringstream s;
		wstringstream s;
		s << number;
		s << number;
		return s.str();
		return s.str();
	}
	}
#endif
	wstring StringConverter::FromNumber (int number)
	wstring StringConverter::FromNumber (int number)
	{
	{
 Lines 60-71    Link Here 
		return s.str();
		return s.str();
	}
	}
#if __WORDSIZE == 32
	wstring StringConverter::FromNumber (uint64 number)
	wstring StringConverter::FromNumber (uint64 number)
	{
	{
		wstringstream s;
		wstringstream s;
		s << number;
		s << number;
		return s.str();
		return s.str();
	}
	}
#endif
	string StringConverter::GetTrailingNumber (const string &str)
	string StringConverter::GetTrailingNumber (const string &str)
	{
	{
(-) truecrypt-5.0-source.org/Platform/StringConverter.h (+4 lines)
 Lines 19-29    Link Here 
	public:
	public:
		static wstring FromNumber (double number);
		static wstring FromNumber (double number);
		static wstring FromNumber (int number);
		static wstring FromNumber (int number);
#if __WORDSIZE == 32
		static wstring FromNumber (int64 number);
		static wstring FromNumber (int64 number);
#endif
		static wstring FromNumber (long number);
		static wstring FromNumber (long number);
		static wstring FromNumber (unsigned int number);
		static wstring FromNumber (unsigned int number);
		static wstring FromNumber (unsigned long number);
		static wstring FromNumber (unsigned long number);
#if __WORDSIZE == 32
		static wstring FromNumber (uint64 number);
		static wstring FromNumber (uint64 number);
#endif
		static string GetTrailingNumber (const string &str);
		static string GetTrailingNumber (const string &str);
		static string GetTypeName (const type_info &typeInfo);
		static string GetTypeName (const type_info &typeInfo);
		static wstring QuoteSpaces (const wstring &str);
		static wstring QuoteSpaces (const wstring &str);