avoid x86_64 warning

svn: r11346
This commit is contained in:
Matthew Flatt 2008-08-19 22:46:46 +00:00
parent c5c8adff22
commit 1be4c39592

View File

@ -7162,7 +7162,7 @@ static void on_demand_generate_lambda(Scheme_Native_Closure *nc)
void **pd;
pd = (void **)gdata.patch_depth;
gdata.patch_depth = pd[1];
jit_patch_movi((*pd), (void *)max_depth);
jit_patch_movi((*pd), (void *)(long)max_depth);
}
ndata->code = code;