aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/test_com32.c
diff options
context:
space:
mode:
authorJonathan Boeing <jonathan.n.boeing@gmail.com>2015-02-09 20:01:37 -0700
committerGene Cumm <gene.cumm@gmail.com>2015-05-03 10:51:03 -0400
commit82f9527f9e54ae83ff8ce11a82fab2e1b2ac6085 (patch)
tree5eb93e2d6a8ce472169d204e8c407140f8cd3309 /com32/elflink/test_com32.c
parent1361dd215ff3d303c8ae9e7598ef3ef91bd21d0a (diff)
downloadsyslinux-82f9527f9e54ae83ff8ce11a82fab2e1b2ac6085.tar.gz
syslinux-82f9527f9e54ae83ff8ce11a82fab2e1b2ac6085.tar.xz
syslinux-82f9527f9e54ae83ff8ce11a82fab2e1b2ac6085.zip
hdt: fix sizeof(char *) misuse
The code was passing sizeof(char *) - not the length of the buffer - to memset. Change the function to take the length of the buffer as a parameter. Fixes the warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? Signed-off-by: Jonathan Boeing <jonathan.n.boeing@gmail.com>
Diffstat (limited to 'com32/elflink/test_com32.c')
0 files changed, 0 insertions, 0 deletions