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 | 7fbf2ff3c925a0cc55024bc8350ad9e9bf8d1e47 (patch) | |
tree | 0c2f93f7d201d35b17d0cb6defe09004097cc711 | |
parent | bc8eb7adf2c2f04fdc262ee370feda9e0d8781c3 (diff) |
Store ClientNumber as int instead of converting back & forth to long
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r-- | scope.c | 2 | ||||
-rw-r--r-- | scope.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1058,7 +1058,7 @@ ClientName ( if (clientNumber <= 1) return(""); - (void)sprintf(name, " %ld", FDinfo[fd].ClientNumber); + (void)sprintf(name, " %d", FDinfo[fd].ClientNumber); return(name); } @@ -107,7 +107,7 @@ extern char AudioServerHostName[MAXHOSTNAMELEN]; struct fdinfo { Boolean Server; - long ClientNumber; + int ClientNumber; FD pair; unsigned char *buffer; int bufcount; |