diff options
author | Colin Watson <cjwatson@debian.org> | 2014-10-07 12:13:50 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2014-10-07 12:13:50 +0100 |
commit | 487bdb3a5ef6075887b830ccb8a0b14f6da78e93 (patch) | |
tree | a2cff6fec1e6c4b4153a170a3e172cfe6bfdec46 /openbsd-compat/bsd-snprintf.c | |
parent | 796ba4fd011b5d0d9d78d592ba2f30fc9d5ed2e7 (diff) | |
parent | 28453d58058a4d60c3ebe7d7f0c31a510cbf6158 (diff) |
Import openssh_6.7p1.orig.tar.gz
Diffstat (limited to 'openbsd-compat/bsd-snprintf.c')
-rw-r--r-- | openbsd-compat/bsd-snprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/bsd-snprintf.c b/openbsd-compat/bsd-snprintf.c index 975991e7f..23a635989 100644 --- a/openbsd-compat/bsd-snprintf.c +++ b/openbsd-compat/bsd-snprintf.c | |||
@@ -538,7 +538,7 @@ fmtstr(char *buffer, size_t *currlen, size_t maxlen, | |||
538 | } | 538 | } |
539 | while (*value && (cnt < max)) { | 539 | while (*value && (cnt < max)) { |
540 | DOPR_OUTCH(buffer, *currlen, maxlen, *value); | 540 | DOPR_OUTCH(buffer, *currlen, maxlen, *value); |
541 | *value++; | 541 | value++; |
542 | ++cnt; | 542 | ++cnt; |
543 | } | 543 | } |
544 | while ((padlen < 0) && (cnt < max)) { | 544 | while ((padlen < 0) && (cnt < max)) { |
@@ -553,7 +553,7 @@ fmtstr(char *buffer, size_t *currlen, size_t maxlen, | |||
553 | 553 | ||
554 | static int | 554 | static int |
555 | fmtint(char *buffer, size_t *currlen, size_t maxlen, | 555 | fmtint(char *buffer, size_t *currlen, size_t maxlen, |
556 | LLONG value, int base, int min, int max, int flags) | 556 | intmax_t value, int base, int min, int max, int flags) |
557 | { | 557 | { |
558 | int signvalue = 0; | 558 | int signvalue = 0; |
559 | unsigned LLONG uvalue; | 559 | unsigned LLONG uvalue; |