1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-24 11:31:31 +00:00

Linux build rejects %llu in ErrorCode

This commit is contained in:
bbbradsmith 2023-05-07 17:41:54 -04:00
parent 2cb457b85f
commit f15e9c4159

View File

@ -315,7 +315,7 @@ int main (int argc, char* argv[])
TotalCycles += Cycles;
if (MaxCycles) {
if (Cycles > RemainCycles) {
ErrorCode (SIM65_ERROR_TIMEOUT, "Maximum number of cycles (%llu) reached.", MaxCycles);
ErrorCode (SIM65_ERROR_TIMEOUT, "Maximum number of cycles reached.");
}
RemainCycles -= Cycles;
}