X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fcc65%2Ffuncdesc.c;h=cccff02c2fe8ac4a3db9f4925cd896e89625ff0f;hb=f7dfcbcc3daf8426770842b5e6ed3634e0d50c82;hp=f38d1eda48dfb7e135d73cdb76ca0071130f842c;hpb=aa8737733fe51d2941f434c10ca028ac5ab2986c;p=cc65 diff --git a/src/cc65/funcdesc.c b/src/cc65/funcdesc.c index f38d1eda4..cccff02c2 100644 --- a/src/cc65/funcdesc.c +++ b/src/cc65/funcdesc.c @@ -33,8 +33,10 @@ -#include "../common/xmalloc.h" - +/* common */ +#include "xmalloc.h" + +/* cc65 */ #include "funcdesc.h" @@ -49,7 +51,7 @@ FuncDesc* NewFuncDesc (void) /* Create a new symbol table with the given name */ { /* Create a new function descriptor */ - FuncDesc* F = xmalloc (sizeof (FuncDesc)); + FuncDesc* F = (FuncDesc*) xmalloc (sizeof (FuncDesc)); /* Nullify the fields */ F->Flags = 0;