From cd4e2f696caa50b1a7e61482fee6aa3768776056 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Mon, 8 Nov 2010 01:00:52 +0100 Subject: [PATCH] Nog een poging... --- util/ddv_socket.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/ddv_socket.cpp b/util/ddv_socket.cpp index 595ab2bb..72201cf0 100644 --- a/util/ddv_socket.cpp +++ b/util/ddv_socket.cpp @@ -36,13 +36,13 @@ int DDV_Accept(int sock){ return accept(sock, 0, 0); } -bool DDV_write(char * buffer, int width, int count, int sock){ +bool DDV_write(void * buffer, int width, int count, int sock){ bool r = (send(sock, buffer, width*count, 0) == width*count); if (!r){socketError = true} return r; } -bool DDV_read(char * buffer, int width, int count, int sock){ +bool DDV_read(void * buffer, int width, int count, int sock){ bool r = (recv(sock, buffer, width*count, 0) == width*count); if (!r){socketError = true} return r;