瀏覽代碼

Fix compile error (#784)

Zeta 2 月之前
父節點
當前提交
28342378a5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/jit.c

+ 1 - 1
src/jit.c

@@ -4095,7 +4095,7 @@ int hl_jit_function( jit_ctx *ctx, hl_module *m, hl_function *f ) {
 				} else if( (next->op >= OCall1 && next->op <= OCallN) && next->p3 == o->p1 ) {
 				} else if( (next->op >= OCall1 && next->op <= OCallN) && next->p3 == o->p1 ) {
 					int fid = next->p2 < 0 ? -1 : ctx->m->functions_indexes[next->p2];
 					int fid = next->p2 < 0 ? -1 : ctx->m->functions_indexes[next->p2];
 					hl_function *cf = ctx->m->code->functions + fid;
 					hl_function *cf = ctx->m->code->functions + fid;
-					vbyte *name = fun_field_name(cf);
+					const uchar *name = fun_field_name(cf);
 					null_field_access = true;
 					null_field_access = true;
 					hashed_name = hl_hash_gen(name, true);
 					hashed_name = hl_hash_gen(name, true);
 				}
 				}