-rw-r--r-- | lib/util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.cc b/lib/util.cc index eacf6d7..ac70938 100644 --- a/lib/util.cc +++ b/lib/util.cc @@ -213,5 +213,5 @@ namespace opkele { if( (port>0) && (port<65535) && port!=(s?443:80) ) { char tmp[6]; - snprintf(tmp,sizeof(tmp),"%d",port); + snprintf(tmp,sizeof(tmp),"%ld",port); rv += ':'; rv += tmp; } |