aboutsummaryrefslogtreecommitdiffstats
path: root/net/panoptis/files/patch-panoptis-timeslot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'net/panoptis/files/patch-panoptis-timeslot.cpp')
-rw-r--r--net/panoptis/files/patch-panoptis-timeslot.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/panoptis/files/patch-panoptis-timeslot.cpp b/net/panoptis/files/patch-panoptis-timeslot.cpp
new file mode 100644
index 00000000000..b10fd8c8e99
--- /dev/null
+++ b/net/panoptis/files/patch-panoptis-timeslot.cpp
@@ -0,0 +1,11 @@
+--- panoptis/timeslot.cpp.orig Tue Nov 28 13:58:22 2006
++++ panoptis/timeslot.cpp Tue Nov 28 13:58:33 2006
+@@ -109,7 +109,7 @@
+ continue;
+
+ // Create a new Distribution object
+- IfPair *ifpair = new IfPair((uint16_t)input, (uint16_t)output);
++ IfPair *ifpair = new IfPair((uint16_t&)input, (uint16_t&)output);
+ if (!ifpair){
+ perror("new");
+ exit(errno);