fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit bb13b922b66d14f40a0be16bc380e462a1ea6432
Author: Michael Stahl <mst...@redhat.com>
Date:   Mon Oct 28 15:21:34 2013 +0100

    fpicker: warning C4018: '<': signed/unsigned mismatch
    
    Change-Id: I51652d573f59e6ca3b00385790bf14d478f03074

diff --git a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx 
b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
index 1e5f9cd..2494e15 100644
--- a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
+++ b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
@@ -901,7 +901,8 @@ void VistaFilePickerImpl::impl_sta_ShowDialogModal(const 
RequestRef& rRequest)
                     hResult = iDialog->GetFileTypeIndex(&nFileType);
                     if ( SUCCEEDED(hResult) && nFileType > 0 )
                     {
-                        ::sal_Int32 nRealIndex = (nFileType-1); // COM dialog 
base on 1 ... filter container on 0 .-)
+                        // COM dialog base on 1 ... filter container on 0 .-)
+                        ::size_t nRealIndex = (nFileType-1);
                         ::std::vector< COMDLG_FILTERSPEC > lFilters = 
lcl_buildFilterList(m_lFilters);
                         if ( nRealIndex < lFilters.size() )
                         {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to