summaryrefslogtreecommitdiff
path: root/net/netmap/files/patch-netmap__misc.c
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-05-04 15:31:11 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-05-04 15:31:11 +0000
commit25b9d76b40f20d0d455f69ffe5303e5e817a9f76 (patch)
treeb03158f29110fc0e98019b909efe07cea850881a /net/netmap/files/patch-netmap__misc.c
parentUpdate to tin 2.2.1 (diff)
- Pet portlint: rename patch files
Notes
Notes: svn path=/head/; revision=352960
Diffstat (limited to 'net/netmap/files/patch-netmap__misc.c')
-rw-r--r--net/netmap/files/patch-netmap__misc.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/net/netmap/files/patch-netmap__misc.c b/net/netmap/files/patch-netmap__misc.c
new file mode 100644
index 000000000000..cf34faf5ddd0
--- /dev/null
+++ b/net/netmap/files/patch-netmap__misc.c
@@ -0,0 +1,26 @@
+--- netmap/misc.c.orig Sun Dec 15 14:54:26 2002
++++ netmap/misc.c Sun Dec 15 14:54:26 2002
+@@ -1,4 +1,4 @@
+-#include <strstream>
++#include <sstream>
+ #include <string>
+
+ #include "misc.h"
+@@ -17,7 +17,7 @@
+
+ string int_to_str(int i)
+ {
+- strstream ost;
++ stringstream ost;
+
+ ost << i << char(0);
+
+@@ -55,7 +55,7 @@
+ return false;
+
+ bool had_point = false;
+- int beyond_point = 0;
++ unsigned int beyond_point = 0;
+
+ int int_first = 0;
+ for(unsigned i = 0; i < str.length(); i++) {