Win32 warning fix.
authorPekka Riikonen <priikone@silcnet.org>
Tue, 2 Mar 2004 16:22:24 +0000 (16:22 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Tue, 2 Mar 2004 16:22:24 +0000 (16:22 +0000)
lib/silcsftp/sftp_fs_memory.c

index 7fa78cfb1edafc5a6cd1e38cc584ff3208c6988e..b91e212ec5639146b0bcbd7fe985317bb52dcb8b 100644 (file)
@@ -795,7 +795,12 @@ void mem_readdir(void *context, SilcSFTP sftp,
             ((entry->perm & SILC_SFTP_FS_PERM_WRITE) ? 'w' : '-'),
             ((entry->perm & SILC_SFTP_FS_PERM_EXEC) ? 'x' : '-'),
             (entry->directory ? (int)entry->entry_count : 1),
-            (unsigned long long)filesize, date, entry->name,
+#ifndef SILC_WIN32
+            (unsigned long long)filesize,
+#else
+            (unsigned long)filesize,
+#endif
+            date, entry->name,
             (entry->directory ? "/" :
              ((entry->perm & SILC_SFTP_FS_PERM_EXEC) ? "*" : "")));