Be more strict about 'enum logcode' rather than int. IRIX compiler
authorMartin Pool <mbp@samba.org>
Wed, 5 Dec 2001 13:45:51 +0000 (13:45 +0000)
committerMartin Pool <mbp@samba.org>
Wed, 5 Dec 2001 13:45:51 +0000 (13:45 +0000)
picked this up -- quite neat.

options.c

index 62b9c0927ddec5c96597b591ea04e0d121fc4cca..4f2f52849cc6a5b46556721832e00aca3e41e427 100644 (file)
--- a/options.c
+++ b/options.c
@@ -106,7 +106,7 @@ static int modify_window_set;
 char *bind_address;
 
 
-static void print_rsync_version(int f)
+static void print_rsync_version(enum logcode f)
 {
         char const *got_socketpair = "no ";
         char const *hardlinks = "no ";