diff options
author | djm@openbsd.org <djm@openbsd.org> | 2015-10-15 23:51:40 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-10-16 10:54:08 +1100 |
commit | b1d38a3cc6fe349feb8d16a5f520ef12d1de7cb2 (patch) | |
tree | a582897745d044077ea475859be73d0f5ab2158b /ssh-add.c | |
parent | 1a2663a15d356bb188196b6414b4c50dc12fd42b (diff) |
upstream commit
fix some signed/unsigned integer type mismatches in
format strings; reported by Nicholas Lemonias
Upstream-ID: 78cd55420a0eef68c4095bdfddd1af84afe5f95c
Diffstat (limited to 'ssh-add.c')
-rw-r--r-- | ssh-add.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-add.c,v 1.125 2015/09/13 14:39:16 tim Exp $ */ | 1 | /* $OpenBSD: ssh-add.c,v 1.126 2015/10/15 23:51:40 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -384,7 +384,7 @@ list_identities(int agent_fd, int do_fp) | |||
384 | if (do_fp) { | 384 | if (do_fp) { |
385 | fp = sshkey_fingerprint(idlist->keys[i], | 385 | fp = sshkey_fingerprint(idlist->keys[i], |
386 | fingerprint_hash, SSH_FP_DEFAULT); | 386 | fingerprint_hash, SSH_FP_DEFAULT); |
387 | printf("%d %s %s (%s)\n", | 387 | printf("%u %s %s (%s)\n", |
388 | sshkey_size(idlist->keys[i]), | 388 | sshkey_size(idlist->keys[i]), |
389 | fp == NULL ? "(null)" : fp, | 389 | fp == NULL ? "(null)" : fp, |
390 | idlist->comments[i], | 390 | idlist->comments[i], |