diff --git a/src/asm/charmap.cpp b/src/asm/charmap.cpp index f63efad2..71ced275 100644 --- a/src/asm/charmap.cpp +++ b/src/asm/charmap.cpp @@ -241,8 +241,7 @@ size_t charmap_ConvertNext(char const **input, uint8_t **output) } else if (**input) { // No match found, but there is some input left int firstChar = **input; // This will write the codepoint's value to `output`, little-endian - size_t codepointLen = readUTF8Char(output ? *output : NULL, - *input); + size_t codepointLen = readUTF8Char(output ? *output : NULL, *input); if (codepointLen == 0) error("Input string is not valid UTF-8\n"); diff --git a/src/asm/warning.cpp b/src/asm/warning.cpp index 9c8f4484..377da547 100644 --- a/src/asm/warning.cpp +++ b/src/asm/warning.cpp @@ -258,10 +258,10 @@ void processWarningFlag(char *flag) // Well, it's either a normal warning or a mistake - enum WarningState state = setError ? WARNING_ERROR : + enum WarningState state = setError ? WARNING_ERROR // Not an error, then check if this is a negation - strncmp(flag, "no-", strlen("no-")) ? WARNING_ENABLED - : WARNING_DISABLED; + : strncmp(flag, "no-", strlen("no-")) ? WARNING_ENABLED + : WARNING_DISABLED; char *rootFlag = state == WARNING_DISABLED ? flag + strlen("no-") : flag; // Is this a "parametric" warning?