summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-30 20:19:44 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-30 20:19:44 -0700
commit7fbf2ff3c925a0cc55024bc8350ad9e9bf8d1e47 (patch)
tree0c2f93f7d201d35b17d0cb6defe09004097cc711 /scope.c
parentbc8eb7adf2c2f04fdc262ee370feda9e0d8781c3 (diff)
downloadxscope-7fbf2ff3c925a0cc55024bc8350ad9e9bf8d1e47.tar.gz
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>
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scope.c b/scope.c
index b8d9b57..f2716d2 100644
--- a/scope.c
+++ b/scope.c
@@ -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);
}