Changed the mode arg from an int to a mode_t.
[rsync.git] / lib / permstring.c
index fc75d088b13e76cf676a75f905c7e2cdcb8f6260..3834b7a1538afa5074420b25624194b9cb10b439 100644 (file)
@@ -26,8 +26,7 @@
  *
  * @param buf buffer of at least 11 characters
  **/
-void permstring(char *perms,
-               int mode)
+void permstring(char *perms, mode_t mode)
 {
        static const char *perm_map = "rwxrwxrwx";
        int i;