mirror of
https://github.com/cc65/cc65.git
synced 2024-07-18 00:29:02 +00:00
Fix a compile problem with the Watcom compiler.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5040 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
f40c977623
commit
8cb4788e13
@ -131,7 +131,7 @@ static void AddNotifications (const Collection* LineInfos)
|
|||||||
unsigned MaxCount = CollCount (LineInfos);
|
unsigned MaxCount = CollCount (LineInfos);
|
||||||
if (MaxCount > 6) {
|
if (MaxCount > 6) {
|
||||||
MaxCount = 6;
|
MaxCount = 6;
|
||||||
}
|
}
|
||||||
Skipped = CollCount (LineInfos) - MaxCount;
|
Skipped = CollCount (LineInfos) - MaxCount;
|
||||||
for (I = 1; I < MaxCount; ++I) {
|
for (I = 1; I < MaxCount; ++I) {
|
||||||
/* Get next line info */
|
/* Get next line info */
|
||||||
@ -149,7 +149,8 @@ static void AddNotifications (const Collection* LineInfos)
|
|||||||
|
|
||||||
/* Add a note if we have more stuff that we won't output */
|
/* Add a note if we have more stuff that we won't output */
|
||||||
if (Skipped > 0) {
|
if (Skipped > 0) {
|
||||||
PrintMsg (GetSourcePos (CollConstAt (LineInfos, 0)), "Note",
|
const LineInfo* LI = CollConstAt (LineInfos, 0);
|
||||||
|
PrintMsg (GetSourcePos (LI), "Note",
|
||||||
"Dropping %u additional line infos", Skipped);
|
"Dropping %u additional line infos", Skipped);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user