Skip to content
Commit f1ec303f authored by Bastien Nocera's avatar Bastien Nocera Committed by David King
Browse files

libbrasero-media: Fix memset() warning

libbrasero-media/scsi-read-track-information.c: In function ‘brasero_read_track_info’:
libbrasero-media/scsi-read-track-information.c:116:33: warning: argument to ‘sizeof’ in ‘memset’ call is the same pointer type ‘BraseroScsiTrackInfo *’ {aka ‘struct _BraseroScsiTrackInfo *’} as the destination; expected ‘BraseroScsiTrackInfo’ {aka ‘struct _BraseroScsiTrackInfo’} or an explicit length [-Wsizeof-pointer-memaccess]
  116 |         memset (&hdr, 0, sizeof (info));
      |                                 ^
parent 4fad49aa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment