From: cuz Date: Thu, 11 Oct 2001 14:50:10 +0000 (+0000) Subject: Fixed another signedness problem X-Git-Tag: V2.12.0~2559 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3277ca78800c98c103a676ba76bef9f4e1e466e7;p=cc65 Fixed another signedness problem git-svn-id: svn://svn.cc65.org/cc65/trunk@1036 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/common/cmdline.c b/src/common/cmdline.c index 298ccb782..50713d11b 100644 --- a/src/common/cmdline.c +++ b/src/common/cmdline.c @@ -261,7 +261,7 @@ void InvDef (const char* Def) -const char* GetArg (int* ArgNum, unsigned Len) +const char* GetArg (unsigned* ArgNum, unsigned Len) /* Get an argument for a short option. The argument may be appended to the * option itself or may be separate. Len is the length of the option string. */ diff --git a/src/common/cmdline.h b/src/common/cmdline.h index 87b7a67c0..6791c4be3 100644 --- a/src/common/cmdline.h +++ b/src/common/cmdline.h @@ -82,11 +82,11 @@ void UnknownOption (const char* Opt) attribute ((noreturn)); void NeedArg (const char* Opt) attribute ((noreturn)); /* Print an error about a missing option argument and exit. */ - + void InvDef (const char* Def) attribute ((noreturn)); /* Print an error about an invalid definition and die */ -const char* GetArg (int* ArgNum, unsigned Len); +const char* GetArg (unsigned* ArgNum, unsigned Len); /* Get an argument for a short option. The argument may be appended to the * option itself or may be separate. Len is the length of the option string. */