]> git.pond.sub.org Git - empserver/blobdiff - src/lib/subs/lostsub.c
Consistently use int for file type parameters and locals
[empserver] / src / lib / subs / lostsub.c
index a2dd9d9df1171bd06afa3138684281d8cada4cb8..aa13fb560efaca29b7424a3e416a44a5a33da37f 100644 (file)
@@ -39,7 +39,7 @@
 #include "misc.h"
 #include "optlist.h"
 
-static int findlost(short, natid, short, coord, coord, int);
+static int findlost(int, natid, short, coord, coord, int);
 
 /*
  * Record item ID of type TYPE changed owner from EXOWN to OWN at X, Y.
@@ -56,7 +56,7 @@ lost_and_found(int type, natid exown, natid own, int id, coord x, coord y)
 }
 
 void
-makelost(short type, natid owner, short id, coord x, coord y)
+makelost(int type, natid owner, short id, coord x, coord y)
 {
     struct loststr lost;
     int n;
@@ -72,7 +72,7 @@ makelost(short type, natid owner, short id, coord x, coord y)
 }
 
 void
-makenotlost(short type, natid owner, short id, coord x, coord y)
+makenotlost(int type, natid owner, short id, coord x, coord y)
 {
     struct loststr lost;
     int n;
@@ -93,7 +93,7 @@ makenotlost(short type, natid owner, short id, coord x, coord y)
  * Else return -1.
  */
 static int
-findlost(short type, natid owner, short id, coord x, coord y, int free)
+findlost(int type, natid owner, short id, coord x, coord y, int free)
 {
     struct loststr lost;
     int n;