mirror of
https://github.com/transmission/transmission
synced 2024-12-24 00:34:04 +00:00
make fStat const
This commit is contained in:
parent
a814d843ad
commit
fb4173157e
2 changed files with 3 additions and 3 deletions
|
@ -32,7 +32,7 @@
|
|||
tr_handle_t * fLib;
|
||||
tr_torrent_t * fHandle;
|
||||
const tr_info_t * fInfo;
|
||||
tr_stat_t * fStat;
|
||||
const tr_stat_t * fStat;
|
||||
|
||||
int fID;
|
||||
|
||||
|
@ -227,6 +227,6 @@
|
|||
|
||||
- (int) torrentID;
|
||||
- (const tr_info_t *) torrentInfo;
|
||||
- (tr_stat_t *) torrentStat;
|
||||
- (const tr_stat_t *) torrentStat;
|
||||
|
||||
@end
|
||||
|
|
|
@ -1486,7 +1486,7 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80
|
|||
return fInfo;
|
||||
}
|
||||
|
||||
- (tr_stat_t *) torrentStat
|
||||
- (const tr_stat_t *) torrentStat
|
||||
{
|
||||
return fStat;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue