summaryrefslogtreecommitdiffstats
path: root/src/main_server.cpp
diff options
context:
space:
mode:
authorTobias Frust <tobiasfrust@gmail.com>2016-06-30 10:27:20 +0200
committerTobias Frust <tobiasfrust@gmail.com>2016-06-30 10:27:20 +0200
commitdbf28e725f062744222559257abe64d8a39a9d50 (patch)
tree046cdf556175423454c4b012db82499b02ef04ff /src/main_server.cpp
parent5680aa99001cb50c707c4187cd8ada0c41a573dd (diff)
downloadods-dbf28e725f062744222559257abe64d8a39a9d50.tar.gz
ods-dbf28e725f062744222559257abe64d8a39a9d50.tar.bz2
ods-dbf28e725f062744222559257abe64d8a39a9d50.tar.xz
ods-dbf28e725f062744222559257abe64d8a39a9d50.zip
bug fixes
Diffstat (limited to 'src/main_server.cpp')
-rw-r--r--src/main_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main_server.cpp b/src/main_server.cpp
index 267023f..167dfca 100644
--- a/src/main_server.cpp
+++ b/src/main_server.cpp
@@ -16,7 +16,7 @@ int main (int argc, char *argv[]){
unsigned short buf[length];
- server.recv(buf, length*sizeof(unsigned short));
+ server.recv((char *)buf, length*sizeof(unsigned short));
for(auto i = 0; i < length; i++){
printf("%i ", buf[i]);