From 080500d0a0626572a69529feace893bbbedd6345 Mon Sep 17 00:00:00 2001 From: cuz Date: Fri, 23 Mar 2001 17:59:23 +0000 Subject: [PATCH] Type change git-svn-id: svn://svn.cc65.org/cc65/trunk@650 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/common/cmdline.c | 4 ++-- src/common/cmdline.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/cmdline.c b/src/common/cmdline.c index 597f3778f..58be881db 100644 --- a/src/common/cmdline.c +++ b/src/common/cmdline.c @@ -170,7 +170,7 @@ static void ExpandFile (CmdLine* L, const char* Name) -void InitCmdLine (unsigned* aArgCount, char** aArgVec[], const char* aProgName) +void InitCmdLine (int* aArgCount, char** aArgVec[], const char* aProgName) /* Initialize command line parsing. aArgVec is the argument array terminated by * a NULL pointer (as usual), ArgCount is the number of valid arguments in the * array. Both arguments are remembered in static storage. @@ -180,7 +180,7 @@ void InitCmdLine (unsigned* aArgCount, char** aArgVec[], const char* aProgName) unsigned I; /* Get the program name from argv[0] but strip a path */ - if (*(aArgVec)[0] == 0) { + if (*(aArgVec)[0] == 0) { /* Use the default name given */ ProgName = aProgName; } else { diff --git a/src/common/cmdline.h b/src/common/cmdline.h index ce8f1e1ba..97f27924e 100644 --- a/src/common/cmdline.h +++ b/src/common/cmdline.h @@ -71,7 +71,7 @@ struct LongOpt { -void InitCmdLine (unsigned* aArgCount, char** aArgVec[], const char* aProgName); +void InitCmdLine (int* aArgCount, char** aArgVec[], const char* aProgName); /* Initialize command line parsing. aArgVec is the argument array terminated by * a NULL pointer (as usual), ArgCount is the number of valid arguments in the * array. Both arguments are remembered in static storage. -- 2.39.5