Hi,

I had this libcmis build fail on i386 today:

 
https://launchpadlibrarian.net/124428787/buildlog_ubuntu-raring-i386.libcmis_0.3.0-1~ubuntu1~ppa1_FAILEDTOBUILD.txt.gz

and assume the attached patch would fix that. Please consider for inclusion.
(Sending a patch, as fdo is down and libcmis is not on gerrit).

NB: The patch is totally untested.

Best,

Bjoern
--- src/libcmis/ws-requests.cxx.orig	2012-11-29 19:05:27.727367218 +0100
+++ src/libcmis/ws-requests.cxx	2012-11-29 19:06:02.263367691 +0100
@@ -105,7 +105,7 @@
     string content( buf, size );
     delete[ ] buf;
 
-    xmlTextWriterWriteFormatElement( writer, BAD_CAST( "cmism:length" ), "%ld", content.size( ) );
+    xmlTextWriterWriteFormatElement( writer, BAD_CAST( "cmism:length" ), "%ld", static_cast<long int>(content.size( )) );
     xmlTextWriterWriteElement( writer, BAD_CAST( "cmism:mimeType" ), BAD_CAST( contentType.c_str( ) ) );
     if ( !filename.empty( ) )
         xmlTextWriterWriteElement( writer, BAD_CAST( "cmism:filename" ), BAD_CAST( filename.c_str( ) ) );
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to