From 3277ca78800c98c103a676ba76bef9f4e1e466e7 Mon Sep 17 00:00:00 2001 From: cuz Date: Thu, 11 Oct 2001 14:50:10 +0000 Subject: [PATCH] Fixed another signedness problem git-svn-id: svn://svn.cc65.org/cc65/trunk@1036 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/common/cmdline.c | 2 +- src/common/cmdline.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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. */ -- 2.39.5