From 941718e440272279462030165794571f18ec74ea Mon Sep 17 00:00:00 2001 From: Chris Frey Date: Thu, 4 Oct 2012 21:30:02 -0400 Subject: [PATCH] tools: Fixed printf % code mismatches --- tools/brawchannel_unix.cc | 2 +- tools/brawchannel_win32.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/brawchannel_unix.cc b/tools/brawchannel_unix.cc index e3f72623..d34658a7 100644 --- a/tools/brawchannel_unix.cc +++ b/tools/brawchannel_unix.cc @@ -155,7 +155,7 @@ bool TcpStream::accept() struct sockaddr_in clientAddr; socklen_t len = sizeof(clientAddr); - cout << string_vprintf(_("Listening for connection on %s:%d"), + cout << string_vprintf(_("Listening for connection on %s:%ld"), ( mImpl->mListenAddress == NULL ? "*" : mImpl->mListenAddress ), mImpl->mPort) << endl; diff --git a/tools/brawchannel_win32.cc b/tools/brawchannel_win32.cc index 50c662b9..8a7b6816 100644 --- a/tools/brawchannel_win32.cc +++ b/tools/brawchannel_win32.cc @@ -150,7 +150,7 @@ bool TcpStream::accept() struct sockaddr_in clientAddr; socklen_t len = sizeof(clientAddr); - cout << string_vprintf(_("Listening for connection on %s:%d"), + cout << string_vprintf(_("Listening for connection on %s:%ld"), ( mImpl->mListenAddress == NULL ? "*" : mImpl->mListenAddress ), mImpl->mPort) << endl; -- 2.11.4.GIT