Ignore:
Timestamp:
Nov 28, 2008, 10:11:41 PM (13 years ago)
Author:
charles
Message:

use tr_bool instead of C bitfields. (http://blogs.msdn.com/oldnewthing/archive/2008/11/26/9143050.aspx)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/fdlimit.c

    r7138 r7173  
    8080struct tr_openfile
    8181{
    82     unsigned int    isCheckedOut  : 1;
    83     unsigned int    isWritable    : 1;
    84     unsigned int    closeWhenDone : 1;
    85     char            filename[MAX_PATH_LENGTH];
    86     int             fd;
    87     uint64_t        date;
     82    tr_bool    isCheckedOut;
     83    tr_bool    isWritable;
     84    tr_bool    closeWhenDone;
     85    char       filename[MAX_PATH_LENGTH];
     86    int        fd;
     87    uint64_t   date;
    8888};
    8989
Note: See TracChangeset for help on using the changeset viewer.