diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-05-06 21:43:59 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-05-06 21:44:37 -0700 |
commit | 50ef34933ba3e846605d52a96619323e12887959 (patch) | |
tree | bb1b0c722700eee128ca15df4764393af4d28bda /fd.c | |
parent | 0167af41624e8ef86b657d83ece09fe4e12fd6a2 (diff) | |
download | xscope-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |