commit | 19a629d15a4f78d5d37cee6aabdb71f7d9400ca6 | [log] [tgz] |
---|---|---|
author | yusukes@chromium.org <yusukes@chromium.org@a4e77c2c-9104-11de-800e-5b313e0d2bf3> | Tue Jan 24 07:03:12 2012 +0000 |
committer | yusukes@chromium.org <yusukes@chromium.org@a4e77c2c-9104-11de-800e-5b313e0d2bf3> | Tue Jan 24 07:03:12 2012 +0000 |
tree | cd249616f78e2e858cdaaca8ba05312122dcc6b5 | |
parent | 455475957de24c9964f45cadf4965c7082d28753 [diff] |
Use memcpy() instead of violating strict-aliasing rules. (This is the approach suggested by the standard. Modern compilers inline memcpy anyway.) Patch-by: evan http://codereview.chromium.org/9117014/ git-svn-id: http://ots.googlecode.com/svn/trunk@80 a4e77c2c-9104-11de-800e-5b313e0d2bf3