Commit 8b9fd328 authored by Erik Hovland's avatar Erik Hovland
Browse files

replaced *struct assignment with call to memcpy();

parent 496b269a
......@@ -591,13 +591,13 @@ static int UDFScanDir( dvd_reader_t *device, struct AD Dir, char *FileName,
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;
}
}
......
Supports Markdown
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