Use g_memdup2() with newer versions of GLib
The g_memdup() function has been deprecated, as it takes the size of the memory area as an unsigned integer. The g_memdup2() replacement uses the more appropriate size_t type, instead.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
The g_memdup() function has been deprecated, as it takes the size of the memory area as an unsigned integer. The g_memdup2() replacement uses the more appropriate size_t type, instead.