From: uz Date: Sun, 1 May 2011 17:58:45 +0000 (+0000) Subject: Fixed an error in the last change: Arguments for option -W were not passed X-Git-Tag: V2.13.3~453 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=845ad646336b885db73de920e29741bb1b62a446;p=cc65 Fixed an error in the last change: Arguments for option -W were not passed correctly to the compiler. git-svn-id: svn://svn.cc65.org/cc65/trunk@5007 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cl65/main.c b/src/cl65/main.c index 0ef25af32..d1a6a3823 100644 --- a/src/cl65/main.c +++ b/src/cl65/main.c @@ -1360,7 +1360,7 @@ int main (int argc, char* argv []) OptLdArgs (Arg, GetArg (&I, 3)); } else { /* Anything else: Suppress warnings (compiler) */ - CmdAddArg2 (&CC65, "-W", GetArg (&I, 3)); + CmdAddArg2 (&CC65, "-W", GetArg (&I, 2)); } break;