Nicolas Cannasse 7 년 전
부모
커밋
d1cc7e3261
2개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 3
      src/main.c
  2. 1 1
      src/std/sys.c

+ 0 - 3
src/main.c

@@ -83,9 +83,6 @@ __declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
 
 #endif
 
-HL_PRIM double hl_sys_time();
-static int K = 0;
-
 #ifdef HL_WIN
 int wmain(int argc, pchar *argv[]) {
 #else

+ 1 - 1
src/std/sys.c

@@ -587,7 +587,7 @@ HL_PRIM void hl_sys_init(void **args, int nargs, void *hlfile) {
 }
 
 HL_PRIM vbyte *hl_sys_hl_file() {
-	return hl_file;
+	return (vbyte*)hl_file;
 }
 
 #ifndef HL_MOBILE