- (djm) [openbsd-compat/bsd-snprintf.c] Fix compilation failure (prototype/
definition mismatch) and warning for broken/missing snprintf case.
This commit is contained in:
parent
0c11f1ac36
commit
4d69aeabd6
|
@ -2,6 +2,8 @@
|
|||
- (djm) [configure.ac] include leading zero characters in OpenSSL version
|
||||
number; fixes test for unsupported versions
|
||||
- (djm) [sshbuf-getput-crypto.c] Fix compilation when OpenSSL lacks ECC
|
||||
- (djm) [openbsd-compat/bsd-snprintf.c] Fix compilation failure (prototype/
|
||||
definition mismatch) and warning for broken/missing snprintf case.
|
||||
|
||||
20140821
|
||||
- (djm) [Makefile.in] fix reference to libtest_helper.a in sshkey test too.
|
||||
|
|
|
@ -538,7 +538,7 @@ fmtstr(char *buffer, size_t *currlen, size_t maxlen,
|
|||
}
|
||||
while (*value && (cnt < max)) {
|
||||
DOPR_OUTCH(buffer, *currlen, maxlen, *value);
|
||||
*value++;
|
||||
value++;
|
||||
++cnt;
|
||||
}
|
||||
while ((padlen < 0) && (cnt < max)) {
|
||||
|
@ -553,7 +553,7 @@ fmtstr(char *buffer, size_t *currlen, size_t maxlen,
|
|||
|
||||
static int
|
||||
fmtint(char *buffer, size_t *currlen, size_t maxlen,
|
||||
LLONG value, int base, int min, int max, int flags)
|
||||
intmax_t value, int base, int min, int max, int flags)
|
||||
{
|
||||
int signvalue = 0;
|
||||
unsigned LLONG uvalue;
|
||||
|
|
Loading…
Reference in New Issue