]> arthur.barton.de Git - netatalk.git/commitdiff
Changed command variables from type int to unsigned int. Fixes warnings
authorsrittau <srittau>
Fri, 3 Aug 2001 22:12:54 +0000 (22:12 +0000)
committersrittau <srittau>
Fri, 3 Aug 2001 22:12:54 +0000 (22:12 +0000)
and maybe a serious bug on Tru64.

etc/atalkd/rtmp.c
etc/atalkd/rtmp.h

index a996523966d9be6078b9413c2f97c7c62b032f52..e35b89a7bb121d2b468c4c74cb841652e74b1b34 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rtmp.c,v 1.6 2001-06-25 20:13:45 rufustfirefly Exp $
+ * $Id: rtmp.c,v 1.7 2001-08-03 22:12:54 srittau Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved. See COPYRIGHT.
@@ -852,7 +852,7 @@ int rtmp_request( iface )
 
 int looproute( iface, cmd )
     struct interface   *iface;
-    int                        cmd;
+    unsigned int       cmd;
 {
     struct sockaddr_at dst, loop;
 
@@ -906,7 +906,7 @@ int looproute( iface, cmd )
 }
 
 int gateroute( command, rtmp )
-    int                        command;
+    unsigned int       command;
     struct rtmptab     *rtmp;
 {
     struct sockaddr_at dst, gate;
index 96b7938a81a0f57425119a500d6f2fd6ee4608fd..39093bb26217d5884ce5a2d3f7399c420524a67e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rtmp.h,v 1.3 2001-06-25 20:13:45 rufustfirefly Exp $
+ * $Id: rtmp.h,v 1.4 2001-08-03 22:12:54 srittau Exp $
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved. See COPYRIGHT.
  *
@@ -84,7 +84,7 @@ void rtmp_delzonemap  __P((struct rtmptab *));
 int rtmp_request __P(( struct interface * ));
 void rtmp_free __P(( struct rtmptab * ));
 int rtmp_replace __P(( struct rtmptab * ));
-int looproute __P(( struct interface *, int ));
-int gateroute __P(( int, struct rtmptab * ));
+int looproute __P(( struct interface *, unsigned int ));
+int gateroute __P(( unsigned int, struct rtmptab * ));
 
 #endif /* atalkd/rtmp.h */