aboutsummaryrefslogtreecommitdiff
path: root/devel/codeworker/files/patch-NetSocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/codeworker/files/patch-NetSocket.cpp')
-rw-r--r--devel/codeworker/files/patch-NetSocket.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/devel/codeworker/files/patch-NetSocket.cpp b/devel/codeworker/files/patch-NetSocket.cpp
deleted file mode 100644
index 6620067f24e1..000000000000
--- a/devel/codeworker/files/patch-NetSocket.cpp
+++ /dev/null
@@ -1,23 +0,0 @@
-
-$FreeBSD$
-
---- NetSocket.cpp.orig
-+++ NetSocket.cpp
-@@ -45,7 +45,7 @@
- namespace CodeWorker {
- bool socketReaderCBK(ScpStream& theStream, void* pData) {
- char tcBuffer[2048];
-- int hSocket = (int) pData;
-+ int hSocket = (intptr_t) pData;
- int iLength = recv(hSocket, tcBuffer, 2047, 0);
- if (iLength <= 0) return false;
- theStream.writeBinaryData(tcBuffer, iLength);
-@@ -53,7 +53,7 @@
- }
-
- bool socketWriterCBK(ScpStream& theStream, void* pData) {
-- int hSocket = (int) pData;
-+ int hSocket = (intptr_t) pData;
- int iLength = theStream.size();
- if (iLength <= 0) return false;
- return NetSocket::sendToSocket(hSocket, theStream.readBuffer(), iLength);