Small optimizations to some format conversion routines.

This commit is contained in:
David Reid
2017-09-09 21:46:16 +10:00
parent d68ed4f887
commit 4cbeff8f48
3 changed files with 18 additions and 19 deletions
+1 -1
View File
@@ -441,7 +441,7 @@ std::string malgen_generate_code__conversion_func_inst_binary_op(const char* res
char typeStr[64];
strncpy_s(typeStr, result, resultVar - result);
code += typeStr; code += "("; code += assignmentStr; code += ")";
code += malgen_format_op_param(typeStr); code += "("; code += assignmentStr; code += ")";
return code;
} else {
code += assignmentStr;