summaryrefslogtreecommitdiff
path: root/loginrec.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2005-06-19 10:19:43 +1000
committerDamien Miller <djm@mindrot.org>2005-06-19 10:19:43 +1000
commit52c8afeec57cd8f04e08816e1f4563e689f70f83 (patch)
treec17e191ca4e5f8688c2ef238e43e6a2a1698cecd /loginrec.c
parent106075314795dab5eeea6ca547dd6a7573168f7a (diff)
downloadopenssh-git-52c8afeec57cd8f04e08816e1f4563e689f70f83.tar.gz
- (djm) [loginrec.c ssh-rand-helper.c] Fix -Wsign-compare for portable,
tested and fixes tim@
Diffstat (limited to 'loginrec.c')
-rw-r--r--loginrec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loginrec.c b/loginrec.c
index 361ac4cb..2543617b 100644
--- a/loginrec.c
+++ b/loginrec.c
@@ -165,7 +165,7 @@
# include <libutil.h>
#endif
-RCSID("$Id: loginrec.c,v 1.67 2005/02/15 11:19:28 dtucker Exp $");
+RCSID("$Id: loginrec.c,v 1.68 2005/06/19 00:19:43 djm Exp $");
/**
** prototypes for helper functions in this file
@@ -534,7 +534,7 @@ getlast_entry(struct logininfo *li)
* sure dst has enough space, if not just copy src (ugh)
*/
char *
-line_fullname(char *dst, const char *src, int dstsize)
+line_fullname(char *dst, const char *src, u_int dstsize)
{
memset(dst, '\0', dstsize);
if ((strncmp(src, "/dev/", 5) == 0) || (dstsize < (strlen(src) + 5)))