# HG changeset patch # User nicodvb # Date 1212661373 0 # Node ID 78e68cde11cfc63801884992330e70cc133a5b21 # Parent 7cf80b1cba5a047890f920561909daaa61fe4798 replaced *struct assignment with call to memcpy(); patch by Erik Hovland org diff -r 7cf80b1cba5a -r 78e68cde11cf libdvdread/dvd_udf.c --- a/libdvdread/dvd_udf.c Thu Jun 05 10:19:26 2008 +0000 +++ b/libdvdread/dvd_udf.c Thu Jun 05 10:22:53 2008 +0000 @@ -591,13 +591,13 @@ struct AD tmpFile; if( !strcasecmp( FileName, filename ) ) { - *FileICB = tmpICB; + memcpy(FileICB, &tmpICB, sizeof(tmpICB)); found = 1; } UDFMapICB(device, tmpICB, &tmpFiletype, partition, &tmpFile); } else { if( !strcasecmp( FileName, filename ) ) { - *FileICB = tmpICB; + memcpy(FileICB, &tmpICB, sizeof(tmpICB)); return 1; } }