From: cuz Date: Fri, 23 Mar 2001 17:59:23 +0000 (+0000) Subject: Type change X-Git-Tag: V2.12.0~2912 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=080500d0a0626572a69529feace893bbbedd6345;p=cc65 Type change git-svn-id: svn://svn.cc65.org/cc65/trunk@650 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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.