summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/trans/codegen_c.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trans/codegen_c.cpp b/src/trans/codegen_c.cpp
index 520371f5..5803ddfe 100644
--- a/src/trans/codegen_c.cpp
+++ b/src/trans/codegen_c.cpp
@@ -455,7 +455,7 @@ namespace {
}
for(const auto& arg : args)
{
- if(arg == "&" && is_windows) {
+ if(strcmp(arg, "&") == 0 && is_windows) {
cmd_ss << "&";
}
else {