diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-11-10 14:43:11 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-11-10 14:43:11 +1100 |
commit | 618db97fe17c7249cef1b53ed1adc9582b10f7f4 (patch) | |
tree | 653286a77c3cc20ee781f1a261ed4a7c68a046f0 /auth-krb5.c | |
parent | 063ba7455fa6c726771fe0d8495544a38c29fa51 (diff) |
- (dtucker) [auth-krb5.c] Fix -Wsign-compare warning in non-Heimdal path.
Patch from djm@.
Diffstat (limited to 'auth-krb5.c')
-rw-r--r-- | auth-krb5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auth-krb5.c b/auth-krb5.c index c7367b49a..a84e5401c 100644 --- a/auth-krb5.c +++ b/auth-krb5.c | |||
@@ -218,7 +218,7 @@ ssh_krb5_cc_gen(krb5_context ctx, krb5_ccache *ccache) { | |||
218 | 218 | ||
219 | ret = snprintf(ccname, sizeof(ccname), | 219 | ret = snprintf(ccname, sizeof(ccname), |
220 | "FILE:/tmp/krb5cc_%d_XXXXXXXXXX", geteuid()); | 220 | "FILE:/tmp/krb5cc_%d_XXXXXXXXXX", geteuid()); |
221 | if (ret == -1 || ret >= sizeof(ccname)) | 221 | if (ret < 0 || (size_t)ret >= sizeof(ccname)) |
222 | return ENOMEM; | 222 | return ENOMEM; |
223 | 223 | ||
224 | old_umask = umask(0177); | 224 | old_umask = umask(0177); |