aboutsummaryrefslogtreecommitdiff
path: root/asm/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'asm/main.cpp')
-rw-r--r--asm/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/main.cpp b/asm/main.cpp
index a168af1..51600cb 100644
--- a/asm/main.cpp
+++ b/asm/main.cpp
@@ -100,7 +100,7 @@ int main(int argc, const char *argv[])
}
std::cerr << file_name << ":" << line << ":" << col << ":"
<< lerr_as_cstr(lerr) << std::endl;
- ret = 255 - lerr;
+ ret = 255 - static_cast<int>(lerr);
goto end;
}
else