summaryrefslogtreecommitdiff
path: root/fd.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-05-06 21:43:59 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-05-06 21:44:37 -0700
commit50ef34933ba3e846605d52a96619323e12887959 (patch)
treebb1b0c722700eee128ca15df4764393af4d28bda /fd.c
parent0167af41624e8ef86b657d83ece09fe4e12fd6a2 (diff)
downloadxscope-50ef34933ba3e846605d52a96619323e12887959.tar.gz
Clear many compiler & sparse warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'fd.c')
-rw-r--r--fd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fd.c b/fd.c
index af08595..69a00ee 100644
--- a/fd.c
+++ b/fd.c
@@ -279,7 +279,7 @@ MakeConnection(
char address[256];
int connect_stat;
- snprintf (address, sizeof(address), "%s:%d", server, port - ServerBasePort);
+ snprintf (address, sizeof(address), "%s:%ld", server, port - ServerBasePort);
if ( (*trans_conn = _X11TransOpenCOTSClient(address)) == NULL ) {
debug(1,(stderr, "OpenCOTSClient failed\n"));
panic("Can't open connection to Server");