summaryrefslogtreecommitdiff
path: root/games/enigma/files/patch-src::editor-lua.cc
blob: da5096bc48634efc9f55b43142c39200fe7913b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- src/editor-lua.cc.orig	Mon Nov 22 10:43:09 2004
+++ src/editor-lua.cc	Mon Nov 22 10:43:21 2004
@@ -50,7 +50,7 @@
  {
  int i;
  for(i=0; i<nentries;i++)
- tolua_pushfieldstring(tolua_S,4,i+1,(const char*) entries[i]);
+ tolua_pushfieldstring(tolua_S,4,i+1,(char*) entries[i]);
  }
  free(entries);
  }
@@ -93,7 +93,7 @@
  {
  int i;
  for(i=0; i<nentries;i++)
- tolua_pushfieldstring(tolua_S,4,i+1,(const char*) entries[i]);
+ tolua_pushfieldstring(tolua_S,4,i+1,(char*) entries[i]);
  }
  free(entries);
  }
@@ -136,7 +136,7 @@
  {
  int i;
  for(i=0; i<nentries;i++)
- tolua_pushfieldstring(tolua_S,4,i+1,(const char*) entries[i]);
+ tolua_pushfieldstring(tolua_S,4,i+1,(char*) entries[i]);
  }
  free(entries);
  }