Changed all occurences of (1<<31) to (1u<<31). Thanks Eliska Svobodova.
This commit is contained in:
@ -360,7 +360,7 @@ int Xorriso_aquire_drive(struct XorrisO *xorriso, char *adr, char *show_adr,
|
||||
}
|
||||
|
||||
if(flag&1)
|
||||
if(xorriso->image_start_mode&(1<<31)) /* used up setting */
|
||||
if(xorriso->image_start_mode&(1u<<31)) /* used up setting */
|
||||
xorriso->image_start_mode= 0; /* no need to perform auto setting */
|
||||
if(flag & 1)
|
||||
xorriso->indev_is_exclusive= xorriso->drives_exclusive;
|
||||
@ -380,7 +380,7 @@ int Xorriso_aquire_drive(struct XorrisO *xorriso, char *adr, char *show_adr,
|
||||
state= isoburn_disc_get_status(drive);
|
||||
Xorriso_process_msg_queues(xorriso,0);
|
||||
if(flag&1) {
|
||||
if(xorriso->image_start_mode&(1<<31)) /* used up setting */
|
||||
if(xorriso->image_start_mode&(1u<<31)) /* used up setting */
|
||||
xorriso->image_start_mode&= ~0xffff; /* perform auto setting */
|
||||
if((xorriso->image_start_mode&(1<<30))) { /* if enabled at all */
|
||||
adr_pt= xorriso->image_start_value;
|
||||
@ -410,10 +410,10 @@ int Xorriso_aquire_drive(struct XorrisO *xorriso, char *adr, char *show_adr,
|
||||
!!(xorriso->image_start_mode & (1<<16)));
|
||||
if(ret<=0)
|
||||
goto ex;
|
||||
if(xorriso->image_start_mode&(1<<31))
|
||||
if(xorriso->image_start_mode&(1u<<31))
|
||||
xorriso->image_start_mode= 0; /* disable msc1 setting completely */
|
||||
else
|
||||
xorriso->image_start_mode|= (1<<31); /* mark as used up */
|
||||
xorriso->image_start_mode|= (1u<<31); /* mark as used up */
|
||||
}
|
||||
}
|
||||
if(flag&1) {
|
||||
|
Reference in New Issue
Block a user