diff options
author | Damien Miller <djm@mindrot.org> | 2005-06-19 10:19:43 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2005-06-19 10:19:43 +1000 |
commit | 52c8afeec57cd8f04e08816e1f4563e689f70f83 (patch) | |
tree | c17e191ca4e5f8688c2ef238e43e6a2a1698cecd /loginrec.h | |
parent | 106075314795dab5eeea6ca547dd6a7573168f7a (diff) |
- (djm) [loginrec.c ssh-rand-helper.c] Fix -Wsign-compare for portable,
tested and fixes tim@
Diffstat (limited to 'loginrec.h')
-rw-r--r-- | loginrec.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -35,7 +35,7 @@ #include <netinet/in.h> #include <sys/socket.h> -/* RCSID("$Id: loginrec.h,v 1.9 2005/02/02 06:10:11 dtucker Exp $"); */ +/* RCSID("$Id: loginrec.h,v 1.10 2005/06/19 00:19:44 djm Exp $"); */ /** ** you should use the login_* calls to work around platform dependencies @@ -128,7 +128,7 @@ struct logininfo *login_get_lastlog(struct logininfo *li, const int uid); unsigned int login_get_lastlog_time(const int uid); /* produce various forms of the line filename */ -char *line_fullname(char *dst, const char *src, int dstsize); +char *line_fullname(char *dst, const char *src, u_int dstsize); char *line_stripname(char *dst, const char *src, int dstsize); char *line_abbrevname(char *dst, const char *src, int dstsize); |