Projects

Ticket #16: patch-StreamingLoadTool_StreamingLoadTool_cpp

File patch-StreamingLoadTool_StreamingLoadTool_cpp, 1.0 KB (added by jason@…, 4 years ago)
Line 
1$OpenBSD$
2--- StreamingLoadTool/StreamingLoadTool.cpp.orig        Sat Jun  7 22:11:19 2008
3+++ StreamingLoadTool/StreamingLoadTool.cpp     Sat Jun  7 22:16:54 2008
4@@ -743,7 +743,8 @@ int main(int argc, char *argv[])
5             
6             bitsReceived += .5;
7             
8-                       printf("%5lu %6lu %8lu %6lu %6lu %6lu %9.0fk\n",
9+                       printf("%5"_U32BITARG_" %6"_U32BITARG_" %8"_U32BITARG_" %6"_U32BITARG_" %6"_U32BITARG_" %6"_U32BITARG_" %9.0fk\n",
10+
11                                ClientSession:: GetActiveConnections (),
12                                ClientSession:: GetPlayingConnections (),
13                                ClientSession:: GetConnectionAttempts (),
14@@ -811,7 +812,7 @@ int main(int argc, char *argv[])
15        if (sLog != NULL)
16                ::fclose(sLog);
17               
18-       printf("%5lu %6lu %8lu %6lu %6lu %6lu %9.0fk\n",
19+       printf("%5"_U32BITARG_" %6"_U32BITARG_" %8"_U32BITARG_" %6"_U32BITARG_" %6"_U32BITARG_" %6"_U32BITARG_" %9.0fk\n",
20                ClientSession:: GetActiveConnections (),
21                ClientSession:: GetPlayingConnections (),
22                ClientSession:: GetConnectionAttempts (),