summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/command.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-08-26 18:07:57 +0000
committerbrian <brian@FreeBSD.org>1998-08-26 18:07:57 +0000
commitef284dc009ccd53edb53818985a9892c7f8a614b (patch)
tree1871f6ab1acf03428a038e3d64d575a243b3c20f /usr.sbin/ppp/command.c
parentccf90b2b068cb10138891a60bdc6c53552a37f31 (diff)
downloadFreeBSD-src-ef284dc009ccd53edb53818985a9892c7f8a614b.zip
FreeBSD-src-ef284dc009ccd53edb53818985a9892c7f8a614b.tar.gz
Fix some OpenBSD/alpha warnings
Diffstat (limited to 'usr.sbin/ppp/command.c')
-rw-r--r--usr.sbin/ppp/command.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c
index d4f98c1..1721d9f 100644
--- a/usr.sbin/ppp/command.c
+++ b/usr.sbin/ppp/command.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: command.c,v 1.160 1998/08/25 17:48:42 brian Exp $
+ * $Id: command.c,v 1.161 1998/08/26 17:39:37 brian Exp $
*
*/
#include <sys/types.h>
@@ -126,7 +126,7 @@
#define NEG_DNS 50
const char Version[] = "2.0";
-const char VersionDate[] = "$Date: 1998/08/25 17:48:42 $";
+const char VersionDate[] = "$Date: 1998/08/26 17:39:37 $";
static int ShowCommand(struct cmdargs const *);
static int TerminalCommand(struct cmdargs const *);
@@ -1792,7 +1792,8 @@ AliasEnable(struct cmdargs const *arg)
static int
AliasOption(struct cmdargs const *arg)
{
- unsigned param = (unsigned)arg->cmd->args;
+ long param = (long)arg->cmd->args;
+
if (arg->argc == arg->argn+1) {
if (strcasecmp(arg->argv[arg->argn], "yes") == 0) {
if (arg->bundle->AliasEnabled) {
OpenPOWER on IntegriCloud