* src/pic/pcode.c (LinkFlow): handle empty flows correctly,
[fw/sdcc] / src / SDCCmain.c
index 0a68ebb8401f26634fa38a6c66e82a9b37714f70..c689064db67a15c95baf681f7b517b3ab61912d1 100644 (file)
@@ -999,14 +999,14 @@ parseCmdLine (int argc, char **argv)
 
           if (strcmp (argv[i], OPTION_XRAM_SIZE) == 0)
             {
-              options.xram_size = getIntArg(OPTION_IRAM_SIZE, argv, &i, argc);
+              options.xram_size = getIntArg(OPTION_XRAM_SIZE, argv, &i, argc);
               options.xram_size_set = TRUE;
               continue;
             }
 
           if (strcmp (argv[i], OPTION_CODE_SIZE) == 0)
             {
-              options.code_size = getIntArg(OPTION_IRAM_SIZE, argv, &i, argc);
+              options.code_size = getIntArg(OPTION_CODE_SIZE, argv, &i, argc);
               continue;
             }