lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> -  for (i=0; i < LUA_NUMTAGS; i++) g->mt[i] = NULL;
> +  memset(g->mt, 0, sizeof(struct Table *) * (size_t) LUA_NUMTAGS);

No. The C standard says that NULL does not need to have all bits zero.