summaryrefslogtreecommitdiff
blob: 1a6c6b8659bd8c05a011555d5df7c0f17b76ddc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/unicode/utfconversion.cpp	2009-03-01 12:11:56.000000000 +0100
+++ src/unicode/utfconversion.cpp.new	2009-03-18 22:56:09.000000000 +0100
@@ -52,7 +52,7 @@
 	}
 	else
 	{
-		std::vector<uint32_t> dest2(utf8string.size(),0);
+		std::vector<UTF32> dest2(utf8string.size(),0);
 		UTF32 *deststart=reinterpret_cast<UTF32 *>(&dest2[0]);
 		UTF32 *destend=deststart+dest2.size();
 
@@ -137,7 +137,7 @@
 	}
 	else
 	{
-		std::vector<uint32_t> source2(wcstring.begin(),wcstring.end());
+		std::vector<UTF32> source2(wcstring.begin(),wcstring.end());
 		std::vector<std::string::value_type> dest(wcstring.size()*sizeof(std::wstring::value_type),0);
 		
 		const UTF32 *sourcestart=reinterpret_cast<const UTF32 *>(&source2[0]);