aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_compile.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--LuaSL/src/LuaSL_compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c
index 523b9c3..e54e0e6 100644
--- a/LuaSL/src/LuaSL_compile.c
+++ b/LuaSL/src/LuaSL_compile.c
@@ -277,7 +277,7 @@ LSL_Leaf *addOperation(LuaSL_compiler *compiler, LSL_Leaf *left, LSL_Leaf *lval,
277 } 277 }
278 if (OT_invalid == lval->basicType) 278 if (OT_invalid == lval->basicType)
279 { 279 {
280 char *leftType = "", *rightType = ""; 280 const char *leftType = "", *rightType = "";
281 281
282 if (left) 282 if (left)
283 leftType = allowed[left->basicType].name; 283 leftType = allowed[left->basicType].name;
@@ -335,7 +335,7 @@ LSL_Leaf *addFunction(LSL_Leaf *type, LSL_Leaf *identifier, LSL_Leaf *open, LSL_
335 { 335 {
336 if (identifier) 336 if (identifier)
337 { 337 {
338 char *temp = identifier->value.stringValue; 338 const char *temp = identifier->value.stringValue;
339 339
340 identifier->token = tokens[LSL_FUNCTION - lowestToken]; 340 identifier->token = tokens[LSL_FUNCTION - lowestToken];
341 identifier->value.functionValue = func; 341 identifier->value.functionValue = func;