(trunk libT) mark the two "progress" args to tr_torrentSetLocation() as volatile.
This commit is contained in:
parent
33422cc9d5
commit
e77a627d3c
|
@ -2808,8 +2808,8 @@ tr_torrentDeleteLocalData( tr_torrent * tor, tr_fileFunc fileFunc )
|
|||
struct LocationData
|
||||
{
|
||||
tr_bool move_from_old_location;
|
||||
int * setme_state;
|
||||
double * setme_progress;
|
||||
volatile int * setme_state;
|
||||
volatile double * setme_progress;
|
||||
char * location;
|
||||
tr_torrent * tor;
|
||||
};
|
||||
|
@ -2908,8 +2908,8 @@ void
|
|||
tr_torrentSetLocation( tr_torrent * tor,
|
||||
const char * location,
|
||||
tr_bool move_from_old_location,
|
||||
double * setme_progress,
|
||||
int * setme_state )
|
||||
volatile double * setme_progress,
|
||||
volatile int * setme_state )
|
||||
{
|
||||
struct LocationData * data;
|
||||
|
||||
|
|
|
@ -1071,8 +1071,8 @@ enum
|
|||
void tr_torrentSetLocation( tr_torrent * torrent,
|
||||
const char * location,
|
||||
tr_bool move_from_previous_location,
|
||||
double * setme_progress,
|
||||
int * setme_state );
|
||||
volatile double * setme_progress,
|
||||
volatile int * setme_state );
|
||||
|
||||
uint64_t tr_torrentGetBytesLeftToAllocate( const tr_torrent * torrent );
|
||||
|
||||
|
|
Loading…
Reference in New Issue