diff options
author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-13 11:59:42 +0000 |
---|---|---|
committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-13 11:59:42 +0000 |
commit | e3c1a6d3c8ca609923a87635d208472db2e384e6 (patch) | |
tree | 14cd1a354929e175f43fbd200fdd283a28e481e6 /protocols/Sametime/src/glib/gmain.c | |
parent | b0dd8ba58e708865ef6e3ed6e596699fc64f4c2d (diff) |
memmove -> memcpy in some cases, review req
git-svn-id: http://svn.miranda-ng.org/main/trunk@11367 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Sametime/src/glib/gmain.c')
-rw-r--r-- | protocols/Sametime/src/glib/gmain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Sametime/src/glib/gmain.c b/protocols/Sametime/src/glib/gmain.c index 91e2a8e378..5bba96d60d 100644 --- a/protocols/Sametime/src/glib/gmain.c +++ b/protocols/Sametime/src/glib/gmain.c @@ -1799,7 +1799,7 @@ g_get_current_time (GTimeVal *result) g_return_if_fail (result != NULL); GetSystemTimeAsFileTime (&ft); - memmove (&time64, &ft, sizeof (FILETIME)); + memcpy(&time64, &ft, sizeof (FILETIME)); /* Convert from 100s of nanoseconds since 1601-01-01 * to Unix epoch. Yes, this is Y2038 unsafe. |