Fix various issues
* bzero is obsolete * use HMODULE instead of long win win32 for 64 bit compatibility * iso9660_seek_read_framesize fails seeking to a position higher than 4 GB * cd-read produces a warning * legal-regex should allow for years > 2009
This commit is contained in:
@@ -317,7 +317,7 @@ static int sg_init_enumerator(burn_drive_enumerator_t *idx_)
|
||||
return -1;
|
||||
}
|
||||
|
||||
bzero(&(idx->ccb), sizeof(union ccb));
|
||||
memset(&(idx->ccb), 0, sizeof(union ccb));
|
||||
|
||||
idx->ccb.ccb_h.path_id = CAM_XPT_PATH_ID;
|
||||
idx->ccb.ccb_h.target_id = CAM_TARGET_WILDCARD;
|
||||
|
||||
@@ -357,7 +357,7 @@ free_win32 (void *p_user_data)
|
||||
if( p_env->h_device_handle )
|
||||
CloseHandle( p_env->h_device_handle );
|
||||
if( p_env->hASPI )
|
||||
FreeLibrary( (HMODULE)p_env->hASPI );
|
||||
FreeLibrary( p_env->hASPI );
|
||||
|
||||
free (p_env);
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ typedef struct {
|
||||
track_info_t tocent[CDIO_CD_MAX_TRACKS+1];
|
||||
|
||||
HANDLE h_device_handle; /* device descriptor */
|
||||
long hASPI;
|
||||
HMODULE hASPI;
|
||||
short i_sid;
|
||||
short i_lun;
|
||||
long (*lpSendCommand)( void* );
|
||||
|
||||
Reference in New Issue
Block a user