summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/regress/modpipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/regress/modpipe.c')
-rwxr-xr-xcrypto/openssh/regress/modpipe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/openssh/regress/modpipe.c b/crypto/openssh/regress/modpipe.c
index 85747cf..e854f9e 100755
--- a/crypto/openssh/regress/modpipe.c
+++ b/crypto/openssh/regress/modpipe.c
@@ -14,7 +14,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $OpenBSD: modpipe.c,v 1.5 2013/05/10 03:46:14 djm Exp $ */
+/* $OpenBSD: modpipe.c,v 1.6 2013/11/21 03:16:47 djm Exp $ */
#include "includes.h"
@@ -68,7 +68,7 @@ usage(void)
#define MAX_MODIFICATIONS 256
struct modification {
enum { MOD_XOR, MOD_AND_OR } what;
- u_int64_t offset;
+ unsigned long long offset;
u_int8_t m1, m2;
};
@@ -79,7 +79,7 @@ parse_modification(const char *s, struct modification *m)
int n, m1, m2;
bzero(m, sizeof(*m));
- if ((n = sscanf(s, "%16[^:]%*[:]%lli%*[:]%i%*[:]%i",
+ if ((n = sscanf(s, "%16[^:]%*[:]%llu%*[:]%i%*[:]%i",
what, &m->offset, &m1, &m2)) < 3)
errx(1, "Invalid modification spec \"%s\"", s);
if (strcasecmp(what, "xor") == 0) {
OpenPOWER on IntegriCloud