Nicolas Cannasse %!s(int64=7) %!d(string=hai) anos
pai
achega
d1cc7e3261
Modificáronse 2 ficheiros con 1 adicións e 4 borrados
  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