| Typecast question - November 03, 2009 - 18:44pm | |
|
simbioz |
Hi, In function edict_t *G_Find(edict_t *from, int fieldofs, const char *match){} , in g_utils.c there is a typecast that I don't understand what is it good for: s = *(char **)((byte *)from + fieldofs); why not just: s = (char *)((byte *)from + fieldofs); ? Thanks. |