diff options
author | Darren Tucker <dtucker@zip.com.au> | 2009-10-07 00:01:50 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2009-10-07 00:01:50 +0200 |
commit | 759cb2a49aefe2757ec7b023024881f5d00efef5 (patch) | |
tree | 1ed1e01fed043092518f196430e2da8a58119256 /dh.c | |
parent | - djm@cvs.openbsd.org 2009/09/01 14:43:17 (diff) | |
download | openssh-759cb2a49aefe2757ec7b023024881f5d00efef5.tar.xz openssh-759cb2a49aefe2757ec7b023024881f5d00efef5.zip |
- grunk@cvs.openbsd.org 2009/10/01 11:37:33
[dh.c]
fix a cast
ok djm@ markus@
Diffstat (limited to 'dh.c')
-rw-r--r-- | dh.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: dh.c,v 1.47 2008/06/26 09:19:39 djm Exp $ */ +/* $OpenBSD: dh.c,v 1.48 2009/10/01 11:37:33 grunk Exp $ */ /* * Copyright (c) 2000 Niels Provos. All rights reserved. * @@ -83,7 +83,7 @@ parse_prime(int linenum, char *line, struct dhgroup *dhg) goto fail; strsize = strsep(&cp, " "); /* size */ if (cp == NULL || *strsize == '\0' || - (dhg->size = (u_int)strtonum(strsize, 0, 64*1024, &errstr)) == 0 || + (dhg->size = (int)strtonum(strsize, 0, 64*1024, &errstr)) == 0 || errstr) goto fail; /* The whole group is one bit larger */ |