Roberto Ierusalimschy 23 년 전
부모
커밋
cbfc581990
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ltests.c

+ 1 - 1
ltests.c

@@ -387,7 +387,7 @@ static int doonnewstack (lua_State *L) {
 
 
 static int s2d (lua_State *L) {
-  lua_pushnumber(L, *cast(double *, luaL_check_string(L, 1)));
+  lua_pushnumber(L, *cast(const double *, luaL_check_string(L, 1)));
   return 1;
 }