• Tor Lillqvist's avatar
    Ugly fix for '%ld' vs. 'std::basic_string<char>::size_type' mismatch · 5bc1eac4
    Tor Lillqvist yazdı
    Just cast the size() return value to long int, which of course can cause
    breakage when the size_type (is that always the same as size_t?) is larger
    than long int. For 64-bit Windows code size_t is 64 bits but long is 32
    bits. I couldn't think of any simple totally correct solution that would work
    also on compilers without <stdint.h> and <inttypes.h> (MSVC2008), or without
    the z format specifier (all MSVC versions?).
    
    (Our SAL_PRI_SIZET is not available to a 3rd-party library like
    libcmis. Should libcmis grow corresponding configury to find out that?)
    
    Why does a C++ library like libcmis use C-style printf formats anyway? ;)
    
    Change-Id: I093655577bc1a50c137c79b648058f0823cc66c1
    5bc1eac4
Adı
Son kayıt (commit)
Son güncelleme
..
ExternalPackage_libcmis.mk Loading commit data...
Makefile Loading commit data...
Module_libcmis.mk Loading commit data...
README Loading commit data...
StaticLibrary_cmis.mk Loading commit data...
UnpackedTarball_cmis.mk Loading commit data...
boost-win.patch Loading commit data...
libcmis-0.3.0-lotus-live-fix.patch Loading commit data...
libcmis-0.3.0-proxy.patch Loading commit data...
libcmis-0.3.0-warnings.patch Loading commit data...
libcmis-0.3.0-win.patch Loading commit data...
libcmis-0.3.0.patch Loading commit data...