ucb/source/ucp/ftp/ftpdirp.cxx |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

New commits:
commit e6fdeed56d8a48f16b818979f2a77c758c31a9d9
Author: Noel Grandin <noel.gran...@collabora.co.uk>
Date:   Wed Jan 3 14:57:05 2018 +0200

    drop ULONG typedef
    
    Change-Id: I25d0851bd82838f12a4edb3eb9f322bdf30cc175
    Reviewed-on: https://gerrit.libreoffice.org/47342
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/ucb/source/ucp/ftp/ftpdirp.cxx b/ucb/source/ucp/ftp/ftpdirp.cxx
index 98cd4dbccf76..f4ab59afbbe8 100644
--- a/ucb/source/ucp/ftp/ftpdirp.cxx
+++ b/ucb/source/ucp/ftp/ftpdirp.cxx
@@ -29,8 +29,6 @@
 
 using namespace ftp;
 
-typedef sal_uInt32 ULONG;
-
 inline bool ascii_isWhitespace( sal_Unicode ch )
 {
     return ((ch <= 0x20) && ch);
@@ -552,7 +550,7 @@ bool FTPDirectoryParser::parseDOS (
  * The READ, WRITE, and ISLINK mode bits are not supported.
  *
  * The returned size is the <size> part, multiplied by 512, and with the high
- * order bits truncated to fit into a ULONG.
+ * order bits truncated to fit into a sal_uInt32.
  *
  */
 bool FTPDirectoryParser::parseVMS (
@@ -680,7 +678,7 @@ bool FTPDirectoryParser::parseVMS (
         // Parse <size> part and set entry's size:
         if (*p < '0' || *p > '9')
             return false;
-        ULONG nSize = *p - '0';
+        sal_uInt32 nSize = *p - '0';
         if (*p++ != '0')
             while (*p >= '0' && *p <= '9')
                 nSize = 10 * rEntry.m_nSize + (*p++ - '0');
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to