Enrico Forestieri wrote:
> &outbuf[0]

Thanks. Seems to work for me.

Uwe, can you try the attached patch?

Jürgen
Index: src/support/unicode.cpp
===================================================================
--- src/support/unicode.cpp	(Revision 29736)
+++ src/support/unicode.cpp	(Arbeitskopie)
@@ -236,7 +236,7 @@
 		// FIXME Maybe throw an exception and handle that in the caller?
 		return vector<RetType>();
 
-	RetType const * tmp = reinterpret_cast<RetType const *>(outbuf.data());
+	RetType const * tmp = reinterpret_cast<RetType const *>(&outbuf[0]);
 	return vector<RetType>(tmp, tmp + bytes / sizeof(RetType));
 }
 

Reply via email to