summaryrefslogtreecommitdiffhomepage
path: root/svr-auth.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-11-12 23:02:32 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-11-12 23:02:32 +0800
commite60a84d0ed81365a4ac24f06d574b7accb6ab2bd (patch)
tree87045d7ef102f381be34e53940b32438d3599e77 /svr-auth.c
parentf025277147104ae0de018ab139a6ece9709ebdde (diff)
Various cleanups and fixes for warnings
--HG-- branch : ecc
Diffstat (limited to 'svr-auth.c')
-rw-r--r--svr-auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-auth.c b/svr-auth.c
index 8666108..2a3ef0e 100644
--- a/svr-auth.c
+++ b/svr-auth.c
@@ -231,7 +231,7 @@ static int checkusername(unsigned char *username, unsigned int userlen) {
char* listshell = NULL;
char* usershell = NULL;
- int uid;
+ uid_t uid;
TRACE(("enter checkusername"))
if (userlen > MAX_USERNAME_LEN) {
return DROPBEAR_FAILURE;