summaryrefslogtreecommitdiff
path: root/net/netmap/files/patch-netmap__misc.c
blob: cf34faf5ddd068657080eaa3a32b6629a6152bb0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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++) {