Branch: Tag:

2014-04-27

2014-04-27 21:18:05 by Martin Nilsson <nilsson@opera.com>

memset takes void* as first argument, no casting needed.

294:      static void stat_init (struct object *UNUSED(o))   { -  MEMSET ((char *) &THIS_STAT->s, 0, sizeof (THIS_STAT->s)); +  MEMSET (&THIS_STAT->s, 0, sizeof (THIS_STAT->s));   }      /*! @decl void create (void|object|array stat);