1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 16:52:39 +00:00

make fStat const

This commit is contained in:
Mitchell Livingston 2007-07-15 22:20:02 +00:00
parent a814d843ad
commit fb4173157e
2 changed files with 3 additions and 3 deletions

View file

@ -32,7 +32,7 @@
tr_handle_t * fLib; tr_handle_t * fLib;
tr_torrent_t * fHandle; tr_torrent_t * fHandle;
const tr_info_t * fInfo; const tr_info_t * fInfo;
tr_stat_t * fStat; const tr_stat_t * fStat;
int fID; int fID;
@ -227,6 +227,6 @@
- (int) torrentID; - (int) torrentID;
- (const tr_info_t *) torrentInfo; - (const tr_info_t *) torrentInfo;
- (tr_stat_t *) torrentStat; - (const tr_stat_t *) torrentStat;
@end @end

View file

@ -1486,7 +1486,7 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80
return fInfo; return fInfo;
} }
- (tr_stat_t *) torrentStat - (const tr_stat_t *) torrentStat
{ {
return fStat; return fStat;
} }