opnsense-ports/net/netmap/files/patch-netmap__misc.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

26 lines
520 B
C

--- 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++) {