diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-30 20:19:44 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-30 20:19:44 -0700 |
commit | bc8eb7adf2c2f04fdc262ee370feda9e0d8781c3 (patch) | |
tree | fd4802acb0bdb337d73d3ee6edd3af487e7fca12 /scope.c | |
parent | fb391ffad2ccd5b76d6a87e4d2e83ff5282edee5 (diff) | |
download | xscope-bc8eb7adf2c2f04fdc262ee370feda9e0d8781c3.tar.gz |
File descriptors should be stored in ints not shorts
All OS routines take and return ints for file descriptors, so stop
converting back and forth to shorts.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'scope.c')
-rw-r--r-- | scope.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -93,12 +93,12 @@ char TerminateClose = 0; int Interrupt = 0; struct FDDescriptor *FDD = NULL; -short MaxFD = 0; -short nFDsInUse = 0; +int MaxFD = 0; +int nFDsInUse = 0; fd_set ReadDescriptors; fd_set WriteDescriptors; fd_set BlockedReadDescriptors; -short HighestFD; +int HighestFD; short debuglevel = 0; short Verbose = 0; |