commit | 2fec1e7b70c033dbf73f446c31e954ee17fae6df | [log] [tgz] |
---|---|---|
author | Christian Lamparter <chunkeey@googlemail.com> | Mon Nov 11 20:39:50 2013 +0100 |
committer | Luis R. Rodriguez <mcgrof@do-not-panic.com> | Wed Nov 20 13:12:54 2013 +0100 |
tree | 1fb731fb3441508b5991df35772cda760f1429ea | |
parent | 0f73f08f09abb7ac8bb8dc542178de513f3554bc [diff] |
reglib: fix memset usage gcc-4.8 fails to compile reglib due to: reglib.c:1133:22: error: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess] memset(rd, 0, sizeof(rd)); ^ reglib.c:1155:22: error: argument to ‘sizeof’ in... (same as above) Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>