opnsense-ports/net/panoptis/files/patch-panoptis-timeslot.cpp
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

11 lines
378 B
C++

--- 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);