Browse Source

Little build warning removal

tags/v0.1.0
David Carlier 1 year ago
parent
commit
d96dcdf1e0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      engine/vm.c

+ 1
- 1
engine/vm.c View File

@@ -938,7 +938,7 @@ PH7_PRIVATE sxi32 PH7_VmInit(
SySetAlloc(&pVm->aLitObj, 0xFF);
SyHashInit(&pVm->hHostFunction, &pVm->sAllocator, 0, 0);
SyHashInit(&pVm->hFunction, &pVm->sAllocator, 0, 0);
SyHashInit(&pVm->hClass, &pVm->sAllocator, SyStrHash, SyStrncmp);
SyHashInit(&pVm->hClass, &pVm->sAllocator, SyStrHash, (int (*)(const void *, const void *, sxu32))((SyStrncmp)));
SyHashInit(&pVm->hConstant, &pVm->sAllocator, 0, 0);
SyHashInit(&pVm->hSuper, &pVm->sAllocator, 0, 0);
SyHashInit(&pVm->hDBAL, &pVm->sAllocator, 0, 0);


Loading…
Cancel
Save