summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scope.c2
-rw-r--r--scope.h2
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;