Signed-off-by: Alan Coopersmith <[email protected]>
---
scope.c | 2 +-
scope.h | 2 +-
2 files changed, 2 insertions(+), 2 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);
}
diff --git a/scope.h b/scope.h
index d14cfed..b04c331 100644
--- a/scope.h
+++ b/scope.h
@@ -107,7 +107,7 @@ extern char AudioServerHostName[MAXHOSTNAMELEN];
struct fdinfo
{
Boolean Server;
- long ClientNumber;
+ int ClientNumber;
FD pair;
unsigned char *buffer;
int bufcount;
--
1.7.3.2
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel